Login   Register  
PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Douglas M Santos  >  GafMail  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: GafMail
Compose and send text or HTML e-mail messages
Author: By
Last change:
Date: 7 years ago
Size: 537 bytes


Class file image Download
require_once "GafMail.inc.php";
$m GafMailFactory::createMail();
$m->setSubject("Enter Subject Here");
$m->setReplyTo("replyto@test.com.br"); // optional
$m->isHtml=true//default false        
$m->setBody("<h3>Este</h3>  um <a href=#>e-mail</a> qualquer"); // text or html message body
"error send mail";            
"mail sent";