PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Shoeb  >  Template based Email sending  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example usage
Class: Template based Email sending
Send HTML messages using templates
Author: By
Last change:
Date: 9 years ago
Size: 649 bytes


Class file image Download

* in the array the first part [0] is the placeholder in the tempalte * file explained in exampletemplate.htm that will be replaced with the * second part of the array i.e. [1]
$array_content[]=array("master_placeholder", "master");
$array_content[]=array("blaster_placeholder", "blaster");

* usage
* mailsending::sendingemail_phpmailer($var_array,$template,$phpmailer,$FromName,$From,$to,$Subject);
mailsending::sendingemail_phpmailer($array_content, "tpl/bookingtemplate.htm","Include/class.phpmailer.php","Admin",$admin_id,$user_email,"Thankyou for booking with us ! ORDER COMPLETED");