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