- BackdropHtmlToTextTestCase::assertHtmlToText in modules/
simpletest/ tests/ mail.test - Helper function for testing backdrop_html_to_text().
- BackdropHtmlToTextTestCase::testBackdropHtmlToTextBlockTagToNewline in modules/
simpletest/ tests/ mail.test - Test that text separated by block-level tags in HTML get separated by (at least) a newline in the plaintext version.
- BackdropHtmlToTextTestCase::testVeryLongLineWrap in modules/
simpletest/ tests/ mail.test - Tests that backdrop_html_to_text() wraps before 1000 characters.
- ContactSitewideTestCase::testAutoReply in modules/
contact/ tests/ contact.test - Tests auto-reply on the site-wide contact form.
- DefaultMailSystem::format in modules/
system/ system.mail.inc - Concatenate and wrap the e-mail body for plain-text mails.
- drupal_html_to_text in includes/
drupal.inc - Transforms an HTML string into plain text, preserving its structure.
- hook_mail in modules/
system/ system.api.php - Prepare a message based on parameters; called from backdrop_mail().
- MailTestCase::format in modules/
simpletest/ tests/ mail.test - Concatenate and wrap the e-mail body for plain-text mails.