Login   Register  
PHP Classes
elePHPant
Icontem

File: exampleemail.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of dev San  >  Email Sender  >  exampleemail.php  >  Download  
File: exampleemail.php
Role: Example script
Content type: text/plain
Description: Example for Email Class
Class: Email Sender
Send e-mail messages based on text templates
Author: By
Last change:
Date: 2004-03-29 21:58
Size: 521 bytes
 

Contents

Class file image Download
<?
  
include("email.php");
  
  
  
$msg='Hello {FNAME} {LNAME}, <br>
             This is the mail regarding your account activation.<br>
             username:: {USERNAME}<br>
             password:: {PASSWORD}<br>'
;
  
$sub="Account Activation";
  
  
$from="admin@abc.com";
  
$to="user@pqr.com";
  
  
$email= new cls_email_module();
  
  
$fname="UsersFirstName";
  
$lname="UsersLastName";
  
$username="usernameF";
  
$password="usernameP";
  
  
$msg=$email->mailSend($to,$from,$sub,$msg);
  echo 
$msg;
  
?>