Login   Register  
PHP Classes
elePHPant
Icontem

Smarty and MIME message integration: Send e-mail messages using Smarty templates

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 (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-05-23 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,104 All time: 3,148 This week: 1,343Up
Version License PHP version Categories  
just_send_it 1.0GNU Lesser General Publ...5.0Email, PHP 5, Templates
Description Author  

This package can be used to compose and send e-mail messages using Smarty templates.

It wraps around Smarty and MIME message class by Manuel Lemos, and prepares the body and headers of the messages to send.

It can set several message options at once passing an array of options values.

Currently it supports options to define HTML or text message template files, the sender, recipient, bounce and reply names and addresses, whether to send messages in plain text, HTML or both, whether to automatically wrap the message text, message character set, and the bulk precedence header to prevent that notification messages be returned due to temporary delivery errors.

Once the message options are set, the class composes and send message according to the specified option values.

Picture of Grigori Kochanov
Name: Grigori Kochanov is available for providing paid consulting. Contact Grigori Kochanov .
Classes: 7 packages by
Country: Ukraine Ukraine
Age: 36
All time rank: 1775 in Ukraine Ukraine
Week rank: 383 Down9 in Ukraine Ukraine Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagetemplates (5 files)
Accessible without login Plain text file readme.txt Doc. Readme file
Plain text file mymail.class.php Class The wrapper for mimemessage and Smarty packages
Plain text file my_smarty.class.php Class Smarty configuration class
Accessible without login Plain text file sample1.php Example sample 1 - send basic email
Accessible without login Plain text file sample2.php Example sample 2 - send HTML email with a few headers
Accessible without login Plain text file sample3.php Example sample 3 - send multipart email
Accessible without login Plain text file sample4.php Example sample 4

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Plain text file sample1.txt.tpl Data template for sample 1
  Accessible without login Plain text file sample2.html.tpl Data template for sample 2
  Accessible without login Plain text file sample3.html.tpl Data template for sample 3
  Accessible without login Plain text file sample3.txt.tpl Data template for sample 3
  Accessible without login Plain text file sample4.tpl Data template for sample 4

Downloadjust_send_it-2007-05-23.zip 7KB
Downloadjust_send_it-2007-05-23.tar.gz 4KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
MIME E-mail message sending Download .zip .tar.gz To send the letter Required
 Version Control Unique User Downloads Download Rankings  
 0%Total:1,104All time:3,148
 This week:0This week:1,343Up