API functions for processing and sending e-mail.

File

includes/mail.inc

Functions

Namesort ascending Description
_backdrop_wrap_mail_line Wraps words on a single line.
backdrop_wrap_mail Performs format=flowed soft wrapping for mail (RFC 3676).
backdrop_mail_system Returns an object that implements the MailSystemInterface interface.
backdrop_mail Composes and optionally sends an e-mail message.
_backdrop_html_to_text_pad Pads the last line with the given character.
_backdrop_html_to_text_clean Replaces non-quotation markers from a given piece of indentation with spaces.
backdrop_html_to_text Transforms an HTML string into plain text, preserving its structure.
_backdrop_html_to_mail_urls Keeps track of URLs and replaces them with placeholder tokens.

Constants

Namesort ascending Description
MAIL_LINE_ENDINGS Auto-detect appropriate line endings for e-mails.

Interfaces

Namesort ascending Description
MailSystemInterface An interface for pluggable mail back-ends.