Login   Register  
PHP Classes
elePHPant
Icontem

pg_email: Compose and send e-mail messages using template

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-04-20 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 741 This week: 2All time: 4,109 This week: 940Up
Version License PHP version Categories  
pg_email 4.0GNU General Public Lice...5.0Email, PHP 5, Templates
Description Author  

This class can be used to compose and send e-mail messages defined using template files.

It reads a template file to extract details about the messages to be sent such as the text or HTML contents, the recipient addresses, the subject, etc..

The class processes the template, eventually replacing template variables inserted in the text and HTML body data.

The processed messages can be sent immediately or saved to files. A log file may be updated as the messages are sent.

The class supports validating the e-mail addresses, sending attached files, and protection against header injection.

Picture of bobak
Name: bobak <contact>
Classes: 7 packages by
Country: France France
Age: ???
All time rank: 36921 in France France
Week rank: 284 Up13 in France France Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagemodel_email (2 files)
Plain text file email.php Class Management of sending e-mail-based on file models.
Accessible without login Plain text file email_test.php Example Example

  Files folder image Files  /  model_email  
File Role Description
  Accessible without login Plain text file test.mail Data Example : Model 1
  Accessible without login Plain text file test2.mail Data Example : Model 2

 Version Control Unique User Downloads Download Rankings  
 0%Total:741All time:4,109
 This week:2This week:940Up