PHP Classes

Template based Email sending: Send HTML messages using templates

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 4,065 All time: 763 This week: 238Up
Version License Categories
templatemail 1.0.0GNU General Publi...Email, Templates
Description Author

This class can be used to send HTML messages.

It uses a configurable template file to define the HTML message body.

The class replaces template marks with the respective argument values and sends the message.

The sender name, sender e-mail address, recipient address and the message subject are required parameters.

Picture of Shoeb
Name: Shoeb <contact>
Classes: 3 packages by
Country: United Arab Emirates United Arab Emirates
Age: 40
All time rank: 3401 in United Arab Emirates United Arab Emirates
Week rank: 563 Down1 in United Arab Emirates United Arab Emirates Equal

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example usage
Plain text file class.tempmail.php Class This is the main class file for the sending mail template.
Accessible without login Plain text file exampletemplate.htm Data Example HTML tempalte file
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHPMailer Download .zip .tar.gz This is the mail sending script. We use this to send emails but the templates are formed by our class. If you are familiar with this class then you might also know that $mail->Body becomes so bulky to track if it is in code. Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:763
This week:238Up
 User Ratings  
 All time