Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download mailmime-7.x-2.18.tar.gztar.gz 18.94 KB
MD5: 102375eae0780e51c8cbbeab3032edad
SHA-1: bbc39453428176066f812fa7a4adb2b116f27cda
SHA-256: c71ae691326dcaca4e9dd7b8c77ea9ac36e357c4d8161aef93dcf6c4286c9660
Download mailmime-7.x-2.18.zipzip 22.15 KB
MD5: 17861b2ed39afa5120ba42fd63a995ff
SHA-1: 0831aed46748368b8542d6d4364048971665d648
SHA-256: 75e177ae8332f27bd9471eb2f5a2bdeb58b9f4b281001f199238063cefffc8d3

Release notes

Fixes:

#1417646: Cannot download Mail_Mime from SVN repo via Include module

#1752670: installing requirements for Mime

#1929678: Mail MIME inline images using image_style's do not work with Drupal 7.20

#1935610: url_to_realpath fix

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

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.

Requirements

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 the requirements is to run the following commands from a Unix root shell prompt:

    pear install -a Mail_Mime
    pear install Mail_mimeDecode

    The -a parameter ensures that dependencies, including Mail/mimePart.php, are also installed.

  • 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: salvis
Created on: 18 Jun 2013 at 20:02 UTC
Last updated: 18 Jun 2013 at 20:05 UTC
Bug fixes

Other releases