| only for RuBoard - do not distribute or recompile |
For this project, we would like to be able to send users either a plain text newsletter or a "fancy" HTML version, according to their preference.
To send an HTML file with embedded images, we will need to find a way to send attachments. PHP's simple mail() function doesn't easily support sending attachments. Instead, we will use the excellent HTML MIME Mail class created by Richard Heyes. This can deal with HTML attachments, and will automatically attach any images that are contained in the HTML file.
You can get the most up-to-date version of this class from
http://www.heyes-computing.net/scripts/
(It's also on the CD-ROM in this book.)
You are free to use this script in your own work. It is released as Postcard-Ware. If you use it, send the author a post card. The address is on his Web site.
| only for RuBoard - do not distribute or recompile |