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
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
UserRegistrationResource::sendEmailNotifications function core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php Sends email notifications if necessary for user that was registered.
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
UserResetEmailTestTrait trait core/modules/user/src/Tests/UserResetEmailTestTrait.php Helper function for logging in from reset password email.
UserResetEmailTestTrait.php file core/modules/user/src/Tests/UserResetEmailTestTrait.php
UserResetEmailTestTrait::loginFromResetEmail function core/modules/user/src/Tests/UserResetEmailTestTrait.php Login from reset password email.
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.
UserUpdateEmailToken class core/modules/user/tests/src/Functional/Update/UserUpdateEmailToken.php Tests user email token upgrade path.
UserUpdateEmailToken.php file core/modules/user/tests/src/Functional/Update/UserUpdateEmailToken.php
UserUpdateEmailToken::setDatabaseDumpFiles function core/modules/user/tests/src/Functional/Update/UserUpdateEmailToken.php Set database dump files to be used.
UserUpdateEmailToken::testEmailToken function core/modules/user/tests/src/Functional/Update/UserUpdateEmailToken.php Tests that email token in status_blocked of user.mail is updated.
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.
valid_email_address function core/includes/common.inc Verifies the syntax of the given email address.
_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 Conditionally create and send a notification email when a certain
operation happens on the given user account.

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