PHP Classes
elePHPant
Icontem

PHP Template Based Notification Emails: Send email notifications using templates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-16 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 468 This week: 1All time: 5,589 This week: 1,103Up
Version License PHP version Categories  
tpl-notifications 0.5MIT/X Consortium ...3.0Email, PHP 5, Templates
Description Author  

This class can send email notifications using templates.

It can read a given message template file and process it by replacing template parameters passed in an array.

The class can send the composed template message to a given email address using the PEAR mail package.

Recommendations  

Send emails fast
I need to send many emails

Picture of Richard Carson
Name: Richard Carson <contact>
Classes: 4 packages by
Country: Canada Canada
Age: 23
All time rank: 200247 in Canada Canada
Week rank: 590 Up13 in Canada Canada Up

Details provided by the author  
To use this, first configure your email server settings in config.php
Next, create your email templates (example template at templates/example.tpl)

See example.php for example usage
smtp.interface.php has all functions fully documented.

Requires PEAR Mail!
  Files folder image Files  
File Role Description
Files folder imagetemplates (1 file)
Accessible without login Plain text file config.php Conf. Configuration
Accessible without login Plain text file example.php Example Example usage
Accessible without login Plain text file LICENSE Lic. License file
Plain text file notifications.class.php Class Main class
Accessible without login Plain text file README Doc. Documentation
Plain text file smtp.interface.php Class Class interface

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Plain text file example.tpl Data example template

 Version Control Unique User Downloads Download Rankings  
 100%Total:468All time:5,589
 This week:1This week:1,103Up
 User Comments (2)