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
UserMailNotifyTest::testUserMailNotifyLangcodeDeprecation function core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Tests the deprecated $langcode argument to _user_mail_notify().
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::testUserRecoveryMailLanguage function core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Tests recovery email content and token langcode is aligned.
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.
UserMailRequiredValidator class core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php Checks if the user's email address is provided if required.
UserMailRequiredValidator.php file core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php
UserMailRequiredValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php
UserMailRequiredValidatorTest class core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php @coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\UserMailRequiredValidator
@group user
UserMailRequiredValidatorTest.php file core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php
UserMailRequiredValidatorTest::createValidator function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Creates a validator instance.
UserMailRequiredValidatorTest::providerTestValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Data provider for ::testValidate().
UserMailRequiredValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php @covers ::validate
UserMailUnique class core/modules/user/src/Plugin/Validation/Constraint/UserMailUnique.php Checks if a user's email address is unique on the site.
UserMailUnique.php file core/modules/user/src/Plugin/Validation/Constraint/UserMailUnique.php
UserMailUnique::$message property core/modules/user/src/Plugin/Validation/Constraint/UserMailUnique.php
UserPasswordForm::$emailValidator property core/modules/user/src/Form/UserPasswordForm.php The email validator service.
UserRegistrationResource::sendEmailNotifications function core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php Sends email notifications if necessary for user that was registered.
UserRegistrationRestTest::TEST_EMAIL_DOMAIN constant core/modules/user/tests/src/Functional/UserRegistrationRestTest.php
UserRegistrationRestTest::USER_EMAIL_DOMAIN constant core/modules/user/tests/src/Functional/UserRegistrationRestTest.php
UserRegistrationTest::testRegistrationEmailDuplicates function core/modules/user/tests/src/Functional/UserRegistrationTest.php
UserRegistrationTest::testRegistrationWithEmailVerification function core/modules/user/tests/src/Functional/UserRegistrationTest.php
UserRegistrationTest::testRegistrationWithoutEmailVerification function core/modules/user/tests/src/Functional/UserRegistrationTest.php
UserSession::$mail property core/lib/Drupal/Core/Session/UserSession.php The email address of this account.
UserSession::getEmail function core/lib/Drupal/Core/Session/UserSession.php Returns the email address of this account.
UserTest::testGetMailFieldOnlyVisibleToOwner function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests GETting privacy-sensitive base fields.
user_load_by_mail function core/modules/user/user.module Fetches a user object by email address.
user_mail function core/modules/user/user.module Implements hook_mail().
user_mail_tokens function core/modules/user/user.module Token callback to add unsafe tokens for user mails.
_filter_url_parse_email_links function core/modules/filter/filter.module Makes links out of email addresses.
_user_mail_notify function core/modules/user/user.module Creates and sends a notification email following a change to a user account.

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