PHP Classes

Template based Email sending: Send HTML messages using templates

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 4,067 All time: 764 This week: 560Up
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: 42
All time rank: 3421 in United Arab Emirates United Arab Emirates
Week rank: 200 Up1 in United Arab Emirates United Arab Emirates Equal

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadtemplatemail-2006-05-10.zip 1KB
Downloadtemplatemail-2006-05-10.tar.gz
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  
 0%
Total:4,067
This week:0
All time:764
This week:560Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:56%StarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2727