Search for mail

  1. Search 7.x for mail
  2. Search 9.5.x for mail
  3. Search 8.9.x for mail
  4. Search 10.3.x for mail
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Mail class core/lib/Drupal/Core/Mail/Attribute/Mail.php Defines a Mail attribute for plugin discovery.
Mail class core/lib/Drupal/Core/Annotation/Mail.php Defines a Mail annotation object.

All search results

Title Object type File name Summary
MailFormatHelper::htmlToMailUrls function core/lib/Drupal/Core/Mail/MailFormatHelper.php Keeps track of URLs and replaces them with placeholder tokens.
MailFormatHelper::htmlToText function core/lib/Drupal/Core/Mail/MailFormatHelper.php Transforms an HTML string into plain text, preserving its structure.
MailFormatHelper::htmlToTextClean function core/lib/Drupal/Core/Mail/MailFormatHelper.php Replaces non-quotation markers from a piece of indentation with spaces.
MailFormatHelper::htmlToTextPad function core/lib/Drupal/Core/Mail/MailFormatHelper.php Pads the last line with the given character.
MailFormatHelper::wrapMail function core/lib/Drupal/Core/Mail/MailFormatHelper.php Performs format=flowed soft wrapping for mail (RFC 3676).
MailFormatHelper::wrapMailLine function core/lib/Drupal/Core/Mail/MailFormatHelper.php Wraps words on a single line.
MailFormatHelperTest class core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php @coversDefaultClass \Drupal\Core\Mail\MailFormatHelper
@group Mail
MailFormatHelperTest.php file core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php
MailFormatHelperTest::testWrapMail function core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php @covers ::wrapMail
MailHandler class core/modules/contact/src/MailHandler.php Provides a class for handling assembly and dispatch of contact mail messages.
MailHandler.php file core/modules/contact/src/MailHandler.php
MailHandler::$languageManager property core/modules/contact/src/MailHandler.php Language manager service.
MailHandler::$logger property core/modules/contact/src/MailHandler.php Logger service.
MailHandler::$mailManager property core/modules/contact/src/MailHandler.php Mail manager service.
MailHandler::$userStorage property core/modules/contact/src/MailHandler.php The user entity storage handler.
MailHandler::sendMailMessages function core/modules/contact/src/MailHandler.php
MailHandler::__construct function core/modules/contact/src/MailHandler.php Constructs a new \Drupal\contact\MailHandler object.
MailHandlerException class core/modules/contact/src/MailHandlerException.php Exception thrown by MailHandler when unable to determine message recipient.
MailHandlerException.php file core/modules/contact/src/MailHandlerException.php
MailHandlerInterface interface core/modules/contact/src/MailHandlerInterface.php Provides an interface for assembly and dispatch of contact mail messages.
MailHandlerInterface.php file core/modules/contact/src/MailHandlerInterface.php
MailHandlerInterface::sendMailMessages function core/modules/contact/src/MailHandlerInterface.php Sends mail messages as appropriate for a given Message form submission.
MailHandlerTest class core/modules/contact/tests/src/Unit/MailHandlerTest.php @coversDefaultClass \Drupal\contact\MailHandler
@group contact
MailHandlerTest.php file core/modules/contact/tests/src/Unit/MailHandlerTest.php
MailHandlerTest::$contactForm property core/modules/contact/tests/src/Unit/MailHandlerTest.php The contact form entity.
MailHandlerTest::$contactMailHandler property core/modules/contact/tests/src/Unit/MailHandlerTest.php Contact mail messages service.
MailHandlerTest::$entityTypeManager property core/modules/contact/tests/src/Unit/MailHandlerTest.php The entity type manager.
MailHandlerTest::$languageManager property core/modules/contact/tests/src/Unit/MailHandlerTest.php Language manager service.
MailHandlerTest::$logger property core/modules/contact/tests/src/Unit/MailHandlerTest.php Logger service.
MailHandlerTest::$mailManager property core/modules/contact/tests/src/Unit/MailHandlerTest.php Mail manager service.
MailHandlerTest::$userStorage property core/modules/contact/tests/src/Unit/MailHandlerTest.php The user storage handler.
MailHandlerTest::getAnonymousMockMessage function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock message from anonymous user.
MailHandlerTest::getAuthenticatedMockMessage function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock message from authenticated user.
MailHandlerTest::getMockContactForm function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock message on given scenario.
MailHandlerTest::getMockSender function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock sender on given scenario.
MailHandlerTest::getSendMailMessages function core/modules/contact/tests/src/Unit/MailHandlerTest.php Data provider for ::testSendMailMessages.
MailHandlerTest::setUp function core/modules/contact/tests/src/Unit/MailHandlerTest.php
MailHandlerTest::testInvalidRecipient function core/modules/contact/tests/src/Unit/MailHandlerTest.php Tests the children() method with an invalid key.
MailHandlerTest::testSendMailMessages function core/modules/contact/tests/src/Unit/MailHandlerTest.php Tests the sendMailMessages method.
MailHtmlTestHooks class core/modules/system/tests/modules/mail_html_test/src/Hook/MailHtmlTestHooks.php Hook implementations for mail_html_test.
MailHtmlTestHooks.php file core/modules/system/tests/modules/mail_html_test/src/Hook/MailHtmlTestHooks.php
MailHtmlTestHooks::mail function core/modules/system/tests/modules/mail_html_test/src/Hook/MailHtmlTestHooks.php Implements hook_mail().
MailInterface interface core/lib/Drupal/Core/Mail/MailInterface.php Defines an interface for pluggable mail back-ends.
MailInterface.php file core/lib/Drupal/Core/Mail/MailInterface.php
MailInterface::format function core/lib/Drupal/Core/Mail/MailInterface.php Formats a message prior to sending.
MailInterface::mail function core/lib/Drupal/Core/Mail/MailInterface.php Sends a message composed by \Drupal\Core\Mail\MailManagerInterface->mail().
MailManager class core/lib/Drupal/Core/Mail/MailManager.php Provides a Mail plugin manager.
MailManager.php file core/lib/Drupal/Core/Mail/MailManager.php
MailManager::$configFactory property core/lib/Drupal/Core/Mail/MailManager.php The config factory.
MailManager::$instances property core/lib/Drupal/Core/Mail/MailManager.php List of already instantiated mail plugins.

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