Skip to content

Automatically exported from code.google.com/p/intervademailer

Notifications You must be signed in to change notification settings

daltonconley/intervademailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

intervademailer

Easy-to-use php mailer class

##Supported Mail Clients Intervade Mailer currently only supports the php's mail() functionality but there is currently work being done to allow support for SMTP and sendmail functionality as well.

Example

This is a simple example on how to use the mailer with php's mail() function.

require('Intervade_Mailer.php'); 

$client = new Intervade_Mailer(); 
$client->setFromAddress('[email protected]'); 
$client->addSendAddress('[email protected]');

$client->addAttachment('files/myfile.pdf', 'myfile.pdf', 'application/pdf'); 

//$client->send('My PDF File', 'Attached is my PDF file for your viewing pleasure'); 

$client->setSubject('My PDF File');
$client->setMessage('Attached is my PDF file for your viewing pleasure'); 
$client->send(); 

About

Automatically exported from code.google.com/p/intervademailer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages