The MIME Email message class composes and sends MIME encoded email messages. It features user-definable headers and body parts, support for plain text and HTML body, headers with non-ASCII text, HTML messages with embedded images, file attachments with content type detection, forwarding of messages as attachments, setting the error delivery address with the Return-Path header, and sub-classes for different delivery methods: mail, SMTP, Qmail, Sendmail, and Microsoft IIS or Exchange pickup folder. It also supports sending personalized bulk mail by replacing the message parts that differ for each recipient.
| Tags | Communications Email Email Clients (MUA) Software Development Libraries php classes |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | OS Independent |
| Implementation | PHP |
Recent releases


Changes: A bug in which other special characters in headers were not encoded when they contain non-ASCII characters was fixed.


Changes: This release adds support to send messages via SMTP servers that require starting the TLS cryptographic protocol after the connection is established (e.g., Hotmail).


Changes: Filenames of attachments are now encoded if they contain non-ASCII characters.


Changes: The default mailer identity was reset to an empty string. This prevents the generation of the X-Mailer header and avoids an issue with mail servers confusing messages sent by the class with spam.


Changes: The main class can now cache individual message parts that attach or embed files in messages. When sending personalized mailings to many recipients for whom such file parts do not change, this avoids the overhead of encoding those message parts again. The SMTP driver sub-class was enhanced to disconnect from the SMTP server after a given number of consecutive deliveries in bulk mail mode in order to avoid exceeding the limits imposed by certain SMTP servers.
A script that lets you handle form validation without writing JavaScript code.
- All comments
Recent commentsRe: Registration needed to download
> This project is at the time if writing
> hosted on phpclasses and they require
> registration to be able to download.
The registration requirement is an option of each class author. As author of the class I prefer to keep that requirement as it lets the site keep track of the users that have downloaded the package.
When I release new versions (and I often do it), the site automatically notifies the users that have previously downloaded the package, except for those that do not want receive notifications. It is a service of the site to keep my users updated to the latest releases. Many thousands users have registered and appreciate the convinience of the notifications.
If you still do not want to register, you can always mail me and ask for a copy directly by e-mail. I just cannot guarantee that I can reply promptly as I am always busy, but I will try to do it ASAP.
Registration needed to download
This project is at the time if writing hosted on phpclasses and they require registration to be able to download.