<?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("some_user@gmail.com");
$Emailer->set_from("admin@localhost");
$Emailer->set_sender("me@domain.com");
//Afdd some message percifics
$Emailer->set_subject("This is a html formatted email");
/*Set the text if the end-user does not have the correct software to view html*/
$Emailer->set_text("Hello World! (Non html version)");
$Emailer->set_html("<strong>Hello World!</strong> (html Version)");
$Emailer->send();
?>
|