Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Grigori Kochanov  >  Smarty and MIME message integration  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme file
Class: Smarty and MIME message integration
Send e-mail messages using Smarty templates
Author: By
Last change:
Date: 7 years ago
Size: 1,287 bytes
 

Contents

Class file image Download
 ** This is a readme file for the mimemessage and Smarty wrapper **

The script is a wrapper for two packages - "mimemessage" and "Smarty".
To run the scripts you need to download and unpack those packages.

Instructions:

1. Download Smarty from http://smarty.php.net/
and unpack it to the smarty/ directory.

2. Create the smarty/template_c directory and make it writable.
You can also use any directory for the compiled templates by editing 
settings in the 'my_smarty.class.php' file.
Please read the Smarty documentation for more information about
the folder for the compiled templates.

3. Download the "MIME E-mail message sending" package from 
http://www.phpclasses.org/browse/package/9.html
Unpack and place the "email_message.php" file to the same folder with 'mymail.class.php'.
You can also use the 'sendmail_message.php', 'qmail_message.php' or 'smtp_message.php'
instead, which depends on your mail system.
Please read the documentation for more information.

4. Edit the sample scripts and set your email addresses in the 'to_address' field.

Test, use, modify and write your comments.
Thank you!

Author: Grigori Kochanov <public@grik.net>
License: LGPL
Date: May, 20, 2007
URL: http://blog.grik.net/2007/05/easy-professional-emails.html