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
SymfonyMailer::MAILBOX_LIST_HEADERS constant core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php A list of headers that can contain multiple email addresses.
SymfonyMailer::SKIP_HEADERS constant core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php List of headers to skip copying from the message array.
SymfonyMailer::__construct function core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php Symfony mailer constructor.
SymfonyMailerTest class core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php @coversDefaultClass \Drupal\Core\Mail\Plugin\Mail\SymfonyMailer
@group Mail
SymfonyMailerTest.php file core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php
SymfonyMailerTest::testFormatResemblesHtml function core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php Tests that mixed plain text and html body is converted correctly.
SymfonyMailerTest::testMail function core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php Tests sending a mail using a From address with a comma in it.
Symfony\Component\Mailer\Mailer service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\MailerInterface service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Messenger\MessageHandler service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Transport\AbstractTransportFactory service core/modules/mailer/mailer.services.yml Abstract
Symfony\Component\Mailer\Transport\NativeTransportFactory service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Transport\NullTransportFactory service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Transport\SendmailTransportFactory service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Transport\Smtp\EsmtpTransportFactory service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Transport\TransportInterface service core/modules/mailer/mailer.services.yml
system.mail.yml file core/modules/system/config/install/system.mail.yml core/modules/system/config/install/system.mail.yml
system.mail.yml file core/tests/fixtures/config_install/testing_config_install/system.mail.yml core/tests/fixtures/config_install/testing_config_install/system.mail.yml
system.mail.yml file core/tests/fixtures/config_install/multilingual/system.mail.yml core/tests/fixtures/config_install/multilingual/system.mail.yml
SystemHooks::mail function core/modules/system/src/Hook/SystemHooks.php Implements hook_mail().
system_mail_failure_test.info.yml file core/modules/system/tests/modules/system_mail_failure_test/system_mail_failure_test.info.yml core/modules/system/tests/modules/system_mail_failure_test/system_mail_failure_test.info.yml
TestHtmlMailCollector class core/modules/system/tests/modules/mail_html_test/src/Plugin/Mail/TestHtmlMailCollector.php Defines a mail backend that captures sent HTML messages in the state system.
TestHtmlMailCollector.php file core/modules/system/tests/modules/mail_html_test/src/Plugin/Mail/TestHtmlMailCollector.php
TestHtmlMailCollector::format function core/modules/system/tests/modules/mail_html_test/src/Plugin/Mail/TestHtmlMailCollector.php Concatenates and wraps the email body for plain-text mails.
TestMailCollector class core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php Defines a mail backend that captures sent messages in the state system.
TestMailCollector.php file core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php
TestMailCollector::mail function core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php Sends an email message.
TestMailManager class core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Provides a testing version of MailManager with an empty constructor.
TestMailManager::doMail function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Composes and optionally sends an email message.
TestMailManager::setDiscovery function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Sets the discovery for the manager.
TestPhpMailFailure class core/modules/system/tests/modules/system_mail_failure_test/src/Plugin/Mail/TestPhpMailFailure.php Defines a mail sending implementation that always fails.
TestPhpMailFailure.php file core/modules/system/tests/modules/system_mail_failure_test/src/Plugin/Mail/TestPhpMailFailure.php
TestPhpMailFailure::mail function core/modules/system/tests/modules/system_mail_failure_test/src/Plugin/Mail/TestPhpMailFailure.php Sends an email message.
TransportServiceFactoryTest::testDefaultTestMailFactory function core/modules/mailer/tests/src/Functional/TransportServiceFactoryTest.php Test that the transport is set to null://null by default in the child site.
TransportTest::resetMailerDsnConfigOverride function core/modules/mailer/tests/src/Kernel/TransportTest.php Resets a mailer DSN config override.
TransportTest::setUpMailerDsnConfigOverride function core/modules/mailer/tests/src/Kernel/TransportTest.php Sets up a mailer DSN config override.
TransportTest::testDefaultTestMailFactory function core/modules/mailer/tests/src/Kernel/TransportTest.php @covers ::createTransport
TransportTest::testSendmailFactoryAllowedCommand function core/modules/mailer/tests/src/Kernel/TransportTest.php @covers ::createTransport
@covers \Drupal\Core\Mailer\Transport\SendmailCommandValidationTransportFactory::create
TransportTest::testSendmailFactoryUnlistedCommand function core/modules/mailer/tests/src/Kernel/TransportTest.php @covers ::createTransport
@covers \Drupal\Core\Mailer\Transport\SendmailCommandValidationTransportFactory::create
UpdateHooks::mail function core/modules/update/src/Hook/UpdateHooks.php Implements hook_mail().
UpdateMailTest class core/modules/update/tests/src/Unit/UpdateMailTest.php Tests text of update email.
UpdateMailTest.php file core/modules/update/tests/src/Unit/UpdateMailTest.php
UpdateMailTest::$configFactory property core/modules/update/tests/src/Unit/UpdateMailTest.php Mocked config factory.
UpdateMailTest::$container property core/modules/update/tests/src/Unit/UpdateMailTest.php The container.
UpdateMailTest::$currentUser property core/modules/update/tests/src/Unit/UpdateMailTest.php The mocked current user service.
UpdateMailTest::$languageManager property core/modules/update/tests/src/Unit/UpdateMailTest.php Mocked language manager.
UpdateMailTest::$urlGenerator property core/modules/update/tests/src/Unit/UpdateMailTest.php Mocked URL generator.
UpdateMailTest::providerTestUpdateEmail function core/modules/update/tests/src/Unit/UpdateMailTest.php Provides data for ::testUpdateEmail.
UpdateMailTest::setUp function core/modules/update/tests/src/Unit/UpdateMailTest.php
UpdateMailTest::testUpdateEmail function core/modules/update/tests/src/Unit/UpdateMailTest.php Test the subject and body of update text.

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