The Mime Mail module gives Drupal core and other Drupal modules the ability to send HTML email messages. This is an all-Drupal solution that does not require external third-party libraries.

Features include:

  • Sends multipart messages in MIME-format.
  • Plain text version of the HTML body may be automatically generated, or an alternative plain text body may be used if desired.
  • Provides a simple API for adding attachments to email.
  • If the HTML has embedded graphics, these graphics are MIME-encoded and included as message attachments.
  • Adopts your site's style by automatically including your theme's stylesheet files in a themeable HTML message format.
  • Allows users to select a preference for plaintext or HTML email. If the recipient's preference is available and they prefer plaintext, the HTML will be converted to plain text and sent as-is. Otherwise, the email will be sent in themeable HTML with a plaintext alternative.
  • Allows you to theme messages with a specific mailkey.
  • Converts CSS styles into inline style attributes.
  • Provides Rules actions to send HTML email with embedded images and attachments.

Note that there are some serious limitations you need to take into consideration when creating email layouts, see the Email Standard Project for more information.

Requirements

Requires the Mail System module.

Quick start

Follow the instructions at https://www.drupal.org/docs/contributed-modules/mime-mail

Credits

This project is based on work efforts by Robert Castelo, Gerhard Killesreiter, Allie Micka and Gabor Seljan.

Project information

Releases