Provides a class for creating MIME messages.
Mail Mime extends certain PEAR mail-handling classes to provide a drupal-friendly library for creating and parsing MIME messages. Neither Mail Mime nor the original PEAR classes send mail nor do anything useful on their own. They are intended as code libraries to be used by other programs that send or receive mail.
The separation helped clarify in my own mind which parts of the mail-sending process require MIME and which do not. The resulting code is simpler and easier to maintain.
It is possible that another mail-sending or mail-reading module may find the Mail Mime library useful.
One way to satisfy the [requirements][requirements] is to run the following commands from a Unix root shell prompt:
pear install -a Mail_Mime
pear install Mail_mimeDecode
-aparameter ensures that dependencies, including
Mail/mimePart.php, are also installed.
If the Include module fails to download the mimeDecode.php file you have to download this file manually from http://svn.php.net/repository/pear/packages/Mail_mimeDecode/trunk/Mail/m... and move it to the /include directory inside Drupal's default files location (usually the path to the file is sites/default/files/include/Mail/mimeDecode.php).
Download and install as usual.
When enabled, Mail Mime will
Auto-detect whether the required files are present.
If all of the above fails, Mail Mime will disable itself and print a warning to both the screen and the error log.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Developer, Mail, Third-party Integration, Utility
- Reported installs: 497 sites currently report using this module. View usage statistics.
- Downloads: 20,744
- Automated tests: Enabled
- Last modified: July 28, 2015