9 calls to MailFormatHelper::wrapMail()

HtmlToTextTest::testRemoveTrailingWhitespace in core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php
Tests that trailing whitespace is removed before newlines.
HtmlToTextTest::testUsenetSignature in core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php
Tests that trailing whitespace from Usenet style signatures is not removed.
MailFormatHelper::htmlToText in core/lib/Drupal/Core/Mail/MailFormatHelper.php
Transforms an HTML string into plain text, preserving its structure.
MailFormatHelperTest::testWrapMail in core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php
@covers ::wrapMail
MailTest::testConvertRelativeUrlsIntoAbsolute in core/modules/system/tests/src/Kernel/Mail/MailTest.php
Checks that relative paths in mails are converted into absolute URLs.
MailTest::testRenderedElementsUseAbsolutePaths in core/modules/system/tests/src/Kernel/Mail/MailTest.php
Checks that mails built from render arrays contain absolute paths.
SymfonyMailer::format in core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php
Formats a message prior to sending.
SymfonyMailerTest::testFormatResemblesHtml in core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php
Tests that mixed plain text and html body is converted correctly.
TestHtmlMailCollector::format in core/modules/system/tests/modules/mail_html_test/src/Plugin/Mail/TestHtmlMailCollector.php
Concatenates and wraps the email body for plain-text mails.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.