Advertising sustains the DA. Ads are hidden for members. Join today

Contributed modules

Mime Mail

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

This is a Mime Mail component module, for use by other modules.

  • It permits users to receive HTML email and can be used by other modules. The mail functionality accepts an HTML message body, mime-endcodes it and sends it.
  • If the HTML has embedded graphics, these graphics are MIME-encoded and included as a message attachment.
  • Adopts your site's style by automatically including your theme's stylesheet files in a themeable HTML message format
  • 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 simple system actions and Rules actions to send HTML email with embedded images and attachments.

Mime Mail

This is a Mime Mail component module (for use by other modules).

Prevent CSS style collision

The template preprocess function attempts to suck in all of the default theme's style-sheets. This "usually" looks fine, but often needs

Theming HTML Mail sent through Mime Mail

The email messages are formatted using the mimemail-message.tpl.php template file. This includes a CSS style sheet and uses an HTML version

Guide maintainers

TR's picture