Install

Using Composer to manage Drupal site dependencies

Alternative installation files

Download mailmime-8.x-2.8.tar.gztar.gz 16.86 KB
MD5: 8d5bbf935010242f6345c0f4303be950
SHA-1: c39cadca79fc70e04acaa4c75d6fa8f8cbe9f4fd
SHA-256: 96296cee74d60fdda052303533e661d83ac20a75edd50927dd802c7f8f129cc8
Download mailmime-8.x-2.8.zipzip 20.04 KB
MD5: a23f71f0e6fdd527c60da368b66124e7
SHA-1: 5198c1e3e40b109a22d6594998cc719cd31f85e6
SHA-256: c05986503ad1791caf31a95cf0f2a3e43f05c666486745d8eed5de50aaa0d00a

Release notes

Fixes:
#1133932: Mail MIME dependencies are unclear.
Mail MIME

Provides a class for creating MIME messages.

  • NOTE: This module does not send mail.
    If you came here looking for a mail-sending module, try HTML Mail (which can use this module for MIME-handling) or Mime Mail (which comes with its own MIME-handling library).

Mail Mime extends the PEAR class called Mail_Mime (version 1.6.1 or later) to provide a drupal-friendly library for creating and parsing MIME messages. Neither Mail Mime nor Mail_Mime send mail nor do anything useful on their own. Both are intended as code libraries to be used by other programs that send or receive mail.

Mail Mime started out as part of HTML Mail. I separated into its own module for two reasons:

  1. 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.

  2. It is possible that another mail-sending or mail-reading module may find the Mail Mime library useful.

Requirement

The following files, available from PEAR, must be installed and available somewhere on the include_path.

*    `Mail/mime.php`
*    `Mail/mimeDecode.php`
*    `Mail/mimePart.php`
*    `PEAR.php`
*    `PEAR5.php`

One way to satisfy this requirement is to run the following command from a Unix root shell prompt:

pear install -a Mail_Mime

Another way is to install and enable the Include module before enabling the Mail MIME module.

Installation

  1. Download and install as usual.

  2. When enabled, Mail Mime will

    • Auto-detect whether the required files are present.

    • If any files are missing, and the Include module is available, Mail Mime will use Include to auto-download and enable the missing files.

    • If all of the above fails, Mail Mime will disable itself and print a warning to both the screen and the error log.

Created by: pillarsdotnet
Created on: 21 Apr 2011 at 18:32 UTC
Last updated: 21 Apr 2011 at 18:36 UTC

Other releases