<?php
//How to use - Begin
require_once ("GsgumaMail.class.php");
$Email = New GsgumaMail();
$Email-> setName("Name"); //To name
$Email-> setMail("email@email.com"); //To e-mail
$Email-> setSubject("Subject"); //Subject
$Email-> setMessage("Message line 1 \n Line 2 \n Line 3"); //Message
echo $Email-> sendMail() ? "Ok!" : "Error!"; //Send e-mail
//How to use - End
?>
|