PHP Classes
elePHPant
Icontem

File: exampleemail.php

Recommend this page to a friend!
  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: 15 years ago
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;
 
?>