PHP Classes

File: Example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Gilton Guma  >  Gsguma Mail  >  Example.php  >  Download  
File: Example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Gsguma Mail
Compose and send HTML e-mail messages
Author: By
Last change: Adjust require file.
Date: 4 years ago
Size: 477 bytes


Class file image Download
//How to use - Begin
require_once ("GsgumaMail.class.php");
$Email = New GsgumaMail();
$Email-> setName("Name"); //To name
$Email-> setMail(""); //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