mail.inc

Version 1.28 (checked in on 2009/11/02 at 04:10:51 by webchick)

API functions for processing and sending e-mail.

Constants

NameDescription
MAIL_LINE_ENDINGSAuto-detect appropriate line endings for e-mails.

Functions

NameDescription
drupal_html_to_textTransform an HTML string into plain text, preserving the structure of the markup. Useful for preparing the body of a node to be sent by e-mail.
drupal_mailCompose and optionally send an e-mail message.
drupal_mail_systemReturns an object that implements the MailSystemInterface.
drupal_wrap_mailPerform format=flowed soft wrapping for mail (RFC 3676).
_drupal_html_to_mail_urlsHelper function for drupal_html_to_text().
_drupal_html_to_text_cleanHelper function for drupal_wrap_mail() and drupal_html_to_text().
_drupal_html_to_text_padHelper function for drupal_html_to_text().
_drupal_wrap_mail_lineHelper function for array_walk in drupal_wrap_mail().
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.