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
PhpMailTest::setUp function core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php
PhpMailTest::testMail function core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php Tests sending a mail using a From address with a comma in it.
plugin.manager.mail service core/core.services.yml Drupal\Core\Mail\MailManager
SendmailCommandValidationTransportFactory class core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php Command validation decorator for sendmail transport factory.
SendmailCommandValidationTransportFactory.php file core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php
SendmailCommandValidationTransportFactory::create function core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php
SendmailCommandValidationTransportFactory::supports function core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php
SendmailCommandValidationTransportFactory::__construct function core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php Construct command validation decorator for sendmail transport factory.
SymfonyMailer class core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php Defines an experimental mail backend, based on the Symfony mailer component.
SymfonyMailer.php file core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php
SymfonyMailer::create function core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php Creates an instance of the plugin.
SymfonyMailer::format function core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php Formats a message prior to sending.
SymfonyMailer::getMailer function core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php Returns a minimalistic Symfony mailer service.
SymfonyMailer::mail function core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php Sends a message composed by \Drupal\Core\Mail\MailManagerInterface->mail().
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 Tests Drupal\Core\Mail\Plugin\Mail\SymfonyMailer.
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\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 Tests default test mail factory.

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