Search for mail

  1. Search 7.x for mail
  2. Search 9.5.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
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::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::_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.
plugin.manager.mail service core/core.services.yml Drupal\Core\Mail\MailManager
RestRegisterUserTest::TEST_EMAIL_DOMAIN constant core/modules/user/tests/src/Functional/RestRegisterUserTest.php
RestRegisterUserTest::USER_EMAIL_DOMAIN constant core/modules/user/tests/src/Functional/RestRegisterUserTest.php
system.action.send_email_2815379.yml file core/modules/system/tests/fixtures/update/system.action.send_email_2815379.yml core/modules/system/tests/fixtures/update/system.action.send_email_2815379.yml
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.
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.
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::testUserMailsNotSent function core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Tests mails are not sent when notify.$op is FALSE.
UserMailNotifyTest::testUserMailsSent function core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Tests mails are sent when notify.$op is TRUE.
UserMailNotifyTest::userMailsProvider function core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Data provider for user mail testing.
UserMailRequired class core/modules/user/src/Plugin/Validation/Constraint/UserMailRequired.php Checks if the user's email address is provided if required.
UserMailRequired.php file core/modules/user/src/Plugin/Validation/Constraint/UserMailRequired.php
UserMailRequired::$message property core/modules/user/src/Plugin/Validation/Constraint/UserMailRequired.php Violation message. Use the same message as FormValidator.

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