Downloads

Download tar.gz 16.99 KB
MD5: f8559dafd5122ed9139d8ce2383c68b7
SHA-1: 072d5dc53b268f3e10cdb1cacc9be65187f2801b
SHA-256: 504c9ce371eb86f743ad0decacb0c1888f85419a413c71af0087ae58f7152f90
Download zip 20.16 KB
MD5: 03a9c518afef10e536657e18b58d4187
SHA-1: c2e1bb2f005f9883c1fedf2076b8d68a4ea1cabd
SHA-256: 992937af5d908d1d1551e3db1f2e4c3378a6b8b3cf5ead7b448b1e520c449129

Release notes

Fixes:
#1153352: Check for existence of Mail_mimePart::encodeHeader() in mailmime_check_requirements().
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: 13 May 2011 at 21:26 UTC
Last updated: 13 May 2011 at 21:26 UTC
Bug fixes
Unsupported

Other releases