PHP Classes
elePHPant
Icontem

pg_email: Compose and send e-mail messages using template

Recommend this page to a friend!
  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 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 847 All time: 3,946 This week: 936Up
Version License PHP version Categories
pg_email 4.0GNU General Publi...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
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:847
This week:0
All time:3,946
This week:936Up