Search for mail

  1. Search 7.x for mail
  2. Search 8.9.x for mail
  3. Search 10.3.x for mail
  4. Search 11.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/Annotation/Mail.php Defines a Mail annotation object.
Mail class core/lib/Drupal/Component/Utility/Mail.php Provides helpers to ensure emails are compliant with RFCs.

All search results

Title Object type File name Summary
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::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.
plugin.manager.mail service core/core.services.yml Drupal\Core\Mail\MailManager
RestRegisterUserTest::TEST_EMAIL_DOMAIN constant core/modules/hal/tests/src/Functional/user/RestRegisterUserTest.php
RestRegisterUserTest::USER_EMAIL_DOMAIN constant core/modules/hal/tests/src/Functional/user/RestRegisterUserTest.php
system.mail.yml file core/modules/system/config/install/system.mail.yml core/modules/system/config/install/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.
UpdateSettingsForm::$emailValidator property core/modules/update/src/UpdateSettingsForm.php The email validator.
update_mail function core/modules/update/update.module Implements hook_mail().
user.mail.yml file core/modules/user/config/install/user.mail.yml core/modules/user/config/install/user.mail.yml
User::getEmail function core/modules/user/src/Entity/User.php Returns the email address of this account.
User::getInitialEmail function core/modules/user/src/Entity/User.php Returns the email that was used when the user was registered.
User::setEmail function core/modules/user/src/Entity/User.php Sets the email address of the user.
UserAccessControlHandlerTest::$emailViewer property core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php The mock user account with 'view user email addresses' permission.
UserAdminTest::testNotificationEmailAddress function core/modules/user/tests/src/Functional/UserAdminTest.php Tests the alternate notification email address for user mails.
UserCancelTest::testUserWithoutEmailCancelByAdmin function core/modules/user/tests/src/Functional/UserCancelTest.php Tests deletion of a user account without an email address.
UserCreateFailMailTest class core/modules/user/tests/src/Functional/UserCreateFailMailTest.php Tests the create user administration page.
UserCreateFailMailTest.php file core/modules/user/tests/src/Functional/UserCreateFailMailTest.php
UserCreateFailMailTest::$defaultTheme property core/modules/user/tests/src/Functional/UserCreateFailMailTest.php The theme to install as the default for testing.
UserCreateFailMailTest::$modules property core/modules/user/tests/src/Functional/UserCreateFailMailTest.php Modules to enable.
UserCreateFailMailTest::testUserAdd function core/modules/user/tests/src/Functional/UserCreateFailMailTest.php Tests the create user administration page.
UserEditTest::testUserWithoutEmailEdit function core/modules/user/tests/src/Functional/UserEditTest.php Tests editing of a user account without an email address.
UserInterface::getInitialEmail function core/modules/user/src/UserInterface.php Returns the email that was used when the user was registered.
UserInterface::setEmail function core/modules/user/src/UserInterface.php Sets the email address of the user.
UserLoginHttpTest::loginFromResetEmail function core/modules/user/tests/src/Functional/UserLoginHttpTest.php Login from reset password email.
UserMailDefaultsTest class core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php Tests that user.mail default settings are parsed correctly.
UserMailDefaultsTest.php file core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php
UserMailDefaultsTest::$modules property core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php Modules to enable.
UserMailDefaultsTest::setUp function core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php
UserMailDefaultsTest::testMailDefaults function core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php Tests that each user mail contains blank lines.
UserMailDefaultsTest::userMailsProvider function core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php Data provider for user mail testing.
UserMailNotifyTest class core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Tests _user_mail_notify() use of user.settings.notify.*.
UserMailNotifyTest.php file core/modules/user/tests/src/Kernel/UserMailNotifyTest.php
UserMailNotifyTest::$modules property core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Modules to enable.

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