Location: PHPKode > scripts > Auto-Responder > auto-responder/example/example2.php
/* include the main class */
include("../autoresponse.class.php");
/* create a object of the class */ 
$respond=new autoresponse('hide@address.com','bulky','hide@address.com','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();
Return current item: Auto-Responder