HTML Mime Mail for PHP
Abstract
This is a PHP class which allows you to easily send email from your PHP scripts with attachments, HTML and embedded images.
Features
- Can send email with To,Cc, Bcc and Reply-To recipients
- Can send email using the PHP mail() function, piping direct to Sendmail, Postfix, Exim and also via SMTP
- Multipart email, with HTML and plain text for clients that don't support HTML
- All encoding types supported: 7bit, 8bit, Base64 and Quoted-Printable
- Easy to use API
- Supports SMTP authentication
- Works with Windows and Unix/Linux
- Allows any headers to be set, including your own custom headers
- Allows email priorities to be set
- Allows the character set to be set for headers and the email body, giving non-English support
- Add attachments or embed images from files, or PHP strings (eg for images/files held in databases)
- Allows Return-Path to be set (for controlling where bounces are sent to)
- Can return the resulting email instead of sending, to allow attaching of emails to other emails
- Full API list
- Five Comprehensive example scripts
Versions
27th November 2005 update: Version 2.5.2 is now available of the PHP4 version, this fixes reference
issues when the class is used with PHP 4.4, and also fixes a header encoding problem.
For PHP5: Latest update is version 5, which works only with PHP5. See this article to find out
all about it.
For PHP4: Version 2.5.2 is a major revamp of
the API and works with PHP4. All the
method names have changed with a couple now gone. The new API should
be far easier to use and make switching between SMTP/mail() sending
methods pretty much seamless.
Download now »
Articles/Tutorials mentioning HTML Mime Mail
Projects/Sites using HTML Mime Mail
- osCommerce
- Gallery (Online Photo Galleries)
- W-Agora (Open Source Forum)
- Cerberus Helpdesk (Commercial Helpdesk)
- Lovefilm.com (UK Online DVD rentals)
- Kayako (Support Software)
- TikiWiki
This page last updated: 29th October 2005
Download now
Link to me
If you use any of the code on this site (and if you don't I guess) or it makes your life easier,
I'd appreciate a link - http://www.phpguru.org. Thanks.
|