Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
mail.inc
»
drupal_wrap_mail
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
6 calls to drupal_wrap_mail()
drupal_html_to_text
in drupal/
core/
includes/
mail.inc
Transforms an HTML string into plain text, preserving its structure.
HtmlToTextTest::testRemoveTrailingWhitespace
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Mail/
HtmlToTextTest.php
Tests that
drupal_wrap_mail
() removes trailing whitespace before newlines.
HtmlToTextTest::testUsenetSignature
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Mail/
HtmlToTextTest.php
Tests that
drupal_wrap_mail
() does not remove the trailing whitespace from Usenet style signatures.
MailTest::format
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Mail/
MailTest.php
Concatenate and wrap the e-mail body for plain-text mails.
PhpMail::format
in drupal/
core/
lib/
Drupal/
Core/
Mail/
PhpMail.php
Concatenates and wraps the e-mail body for plain-text mails.
WrapMailUnitTest::testDrupalWrapMail
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Mail/
WrapMailUnitTest.php
Makes sure that
drupal_wrap_mail
() wraps the correct types of lines.