<?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 plain-text email");
 
$Emailer->set_text("Hello World!");
 
 
$Emailer->send();
 
?>
 
 |