- BackdropHtmlToTextTestCase::assertHtmlToText in core/
modules/ simpletest/ tests/ mail.test - Helper function for testing backdrop_html_to_text().
- BackdropHtmlToTextTestCase::testBackdropHtmlToTextBlockTagToNewline in core/
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 core/
modules/ simpletest/ tests/ mail.test - Tests that backdrop_html_to_text() wraps before 1000 characters.
- ContactSitewideTestCase::testAutoReply in core/
modules/ contact/ tests/ contact.test - Tests auto-reply on the site-wide contact form.
- DefaultMailSystem::format in core/
modules/ system/ system.mail.inc - Concatenate and wrap the email body for plain-text mails.
- drupal_html_to_text in core/
includes/ drupal.inc - Transforms an HTML string into plain text, preserving its structure.
- hook_mail in core/
modules/ system/ system.api.php - Prepare a message based on parameters; called from backdrop_mail().
- MailTestCase::format in core/
modules/ simpletest/ tests/ mail.test - Concatenate and wrap the email body for plain-text mails.