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
EmailValidatorInterface interface core/lib/Drupal/Component/Utility/EmailValidatorInterface.php Validates email addresses.
EmailValidatorInterface.php file core/lib/Drupal/Component/Utility/EmailValidatorInterface.php
EmailValidatorInterface::isValid function core/lib/Drupal/Component/Utility/EmailValidatorInterface.php Validates an email address.
EmailValidatorTest class core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php Tests the EmailValidator utility class.
EmailValidatorTest.php file core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php
EmailValidatorTest::testIsValid function core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php @covers ::isValid
EmailValidatorTest::testIsValidException function core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php @covers ::isValid
FormTestEmailForm class core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Form constructor for testing #type 'email' elements.
FormTestEmailForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php
FormTestEmailForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Form constructor.
FormTestEmailForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Returns a unique string identifying the form.
FormTestEmailForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Form submission handler.
hook_mail function core/core.api.php Prepares a message based on parameters.
hook_mail_alter function core/core.api.php Alter an email message created with MailManagerInterface->mail().
hook_mail_backend_info_alter function core/core.api.php Alter the list of mail backend plugin definitions.
InstallerSiteConfigProfileTest::EXPECTED_SITE_MAIL constant core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php The site mail we expect to be set from the install profile.
Mail class core/lib/Drupal/Component/Utility/Mail.php Provides helpers to ensure emails are compliant with RFCs.
Mail class core/lib/Drupal/Core/Annotation/Mail.php Defines a Mail annotation object.
Mail.php file core/lib/Drupal/Component/Utility/Mail.php
Mail.php file core/lib/Drupal/Core/Annotation/Mail.php
Mail::$description property core/lib/Drupal/Core/Annotation/Mail.php A short description of the mail plugin.
Mail::$id property core/lib/Drupal/Core/Annotation/Mail.php The plugin ID.
Mail::$label property core/lib/Drupal/Core/Annotation/Mail.php The human-readable name of the mail plugin.
Mail::formatDisplayName function core/lib/Drupal/Component/Utility/Mail.php Return a RFC-2822 compliant "display-name" component.
Mail::RFC_2822_SPECIALS constant core/lib/Drupal/Component/Utility/Mail.php RFC-2822 "specials" characters.
MailCaptureTest class core/tests/Drupal/FunctionalTests/MailCaptureTest.php Tests the collection of emails during testing.
MailCaptureTest.php file core/tests/Drupal/FunctionalTests/MailCaptureTest.php
MailCaptureTest::$defaultTheme property core/tests/Drupal/FunctionalTests/MailCaptureTest.php The theme to install as the default for testing.
MailCaptureTest::testMailSend function core/tests/Drupal/FunctionalTests/MailCaptureTest.php Tests to see if the wrapper function is executed correctly.
MailFormatHelper class core/lib/Drupal/Core/Mail/MailFormatHelper.php Defines a class containing utility methods for formatting mail messages.
MailFormatHelper.php file core/lib/Drupal/Core/Mail/MailFormatHelper.php
MailFormatHelper::$regexp property core/lib/Drupal/Core/Mail/MailFormatHelper.php Quoted regex expression based on base path.
MailFormatHelper::$supportedTags property core/lib/Drupal/Core/Mail/MailFormatHelper.php Array of tags supported.
MailFormatHelper::$urls property core/lib/Drupal/Core/Mail/MailFormatHelper.php Internal array of urls replaced with tokens.
MailFormatHelper::htmlToMailUrls function core/lib/Drupal/Core/Mail/MailFormatHelper.php Keeps track of URLs and replaces them with placeholder tokens.
MailFormatHelper::htmlToText function core/lib/Drupal/Core/Mail/MailFormatHelper.php Transforms an HTML string into plain text, preserving its structure.
MailFormatHelper::htmlToTextClean function core/lib/Drupal/Core/Mail/MailFormatHelper.php Replaces non-quotation markers from a piece of indentation with spaces.
MailFormatHelper::htmlToTextPad function core/lib/Drupal/Core/Mail/MailFormatHelper.php Pads the last line with the given character.
MailFormatHelper::wrapMail function core/lib/Drupal/Core/Mail/MailFormatHelper.php Performs format=flowed soft wrapping for mail (RFC 3676).
MailFormatHelper::wrapMailLine function core/lib/Drupal/Core/Mail/MailFormatHelper.php Wraps words on a single line.
MailFormatHelperTest class core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php @coversDefaultClass \Drupal\Core\Mail\MailFormatHelper
@group Mail
MailFormatHelperTest.php file core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php
MailFormatHelperTest::testWrapMail function core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php @covers ::wrapMail
MailHandler class core/modules/contact/src/MailHandler.php Provides a class for handling assembly and dispatch of contact mail messages.
MailHandler.php file core/modules/contact/src/MailHandler.php
MailHandler::$languageManager property core/modules/contact/src/MailHandler.php Language manager service.
MailHandler::$logger property core/modules/contact/src/MailHandler.php Logger service.
MailHandler::$mailManager property core/modules/contact/src/MailHandler.php Mail manager service.
MailHandler::$userStorage property core/modules/contact/src/MailHandler.php The user entity storage handler.
MailHandler::sendMailMessages function core/modules/contact/src/MailHandler.php Sends mail messages as appropriate for a given Message form submission.

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