/* include the main class */
 
include("../autoresponse.class.php");
 
/* create a object of the class */ 
 
$respond=new autoresponse('[email protected]','bulky','[email protected]','mail.exampledomain.com'); 
 
/* connect to the mail server specified in the constructor */ 
 
$respond->connect();
 
/* set a autoresponse content to a file in the system*/
 
$respond->responseContentSource="/path/to/a/readable/file/in/your/system";
 
/* send out a html format file autoresponse and do not delete the mails in the mail server */ 
 
$respond->send('custom','html'); 
 
/* close the mailbox */ 
 
$respond->close_mailbox();
 
 |