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
MigrateUserMailTest::testMigration function core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserMailTest.php Tests the migration.
PhpMail class core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Defines the default Drupal mail backend, using PHP's native mail() function.
PhpMail.php file core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php
PhpMail::$configFactory property core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php The configuration factory.
PhpMail::$request property core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php The currently active request object.
PhpMail::doMail function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Wrapper around PHP's mail() function.
PhpMail::format function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Concatenates and wraps the email body for plain-text mails.
PhpMail::mail function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Sends an email message.
PhpMail::MAILBOX_LIST_HEADERS constant core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php A list of headers that can contain multiple email addresses.
PhpMail::_isShellSafe function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Disallows potentially unsafe shell characters.
PhpMail::__construct function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php PhpMail constructor.
PhpMailTest class core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php @coversDefaultClass \Drupal\Core\Mail\Plugin\Mail\PhpMail
@group Mail
PhpMailTest.php file core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php
PhpMailTest::$configFactory property core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php The configuration factory.
PhpMailTest::$request property core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php The current request.
PhpMailTest::$requestStack property core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php The request stack.
PhpMailTest::createPhpMailInstance function core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php Creates a mocked PhpMail object.
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.
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 @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.
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
system_mail function core/modules/system/system.module 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.
UpdateMailTest class core/modules/update/tests/src/Unit/UpdateMailTest.php Tests text of update email.

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