| 
<?php
 //Include the emailer class
 include 'Emailer.class.php';
 
 //Load the Emailer class into a variable
 $Emailer = new Emailer;
 
 //Setup where and where from the message is being sent.
 $Emailer->set_to("[email protected]");
 $Emailer->set_from("admin@localhost");
 $Emailer->set_sender("[email protected]");
 
 //Afdd some message percifics
 $Emailer->set_subject("This is a html formatted email with files");
 $Emailer->set_html("Here's your files");
 
 //Add some files
 $Emailer->add_attachments(
 array(
 "path/to/yout/file.ext",
 "path/to/yout/file2.ext"
 /*Add more here if need be*/
 )
 );
 $Emailer->send();
 ?>
 |