Projects / MIME Email message class

MIME Email message class

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.

Operating Systems

Recent releases

  •  28 Aug 2012 07:38

    Release Notes: This release adjusts the line length limit to 76 characters rather than 75 as before to be consistent with the PHP chunk_split function. It also avoids using additional line breaks after each multipart body data part. Some classes with parameters that were passed by reference incorrectly were fixed.

    •  28 Jan 2011 07:15

      Release Notes: This release fixes the declaration of the localhost variable and SendMessageBody and SendMail functions, which were causing warnings under PHP 5. It also removes all uses of ereg functions, which were deprecated in PHP 5.3.

      •  05 Aug 2009 07:50

        Release Notes: This revision changed the code to avoid using POSIX regular expression functions, since those are deprecated starting with PHP 5.3.

        •  03 Jul 2009 08:26

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

          •  15 Apr 2009 07:20

            Release Notes: 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).

            Recent comments

            19 Apr 2007 10:44 mlemos

            Re: 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.

            19 Apr 2007 02:14 boost

            Registration needed to download
            This project is at the time if writing hosted on phpclasses and they require registration to be able to download.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.