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
EmailTest::$modules property core/modules/system/tests/src/Functional/Form/EmailTest.php Modules to enable.
EmailTest::testFormEmail function core/modules/system/tests/src/Functional/Form/EmailTest.php Tests that #type 'email' fields are properly validated.
EmailValidator class core/lib/Drupal/Component/Utility/EmailValidator.php Validates email addresses.
EmailValidator.php file core/lib/Drupal/Component/Utility/EmailValidator.php
EmailValidator::isValid function core/lib/Drupal/Component/Utility/EmailValidator.php Validates an email address.
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
EmailWidgetSizeSettingUpdateTest class core/modules/field/tests/src/Functional/Update/EmailWidgetSizeSettingUpdateTest.php Tests the update for the 'size' setting of the 'email_default' field widget.
EmailWidgetSizeSettingUpdateTest.php file core/modules/field/tests/src/Functional/Update/EmailWidgetSizeSettingUpdateTest.php
EmailWidgetSizeSettingUpdateTest::setDatabaseDumpFiles function core/modules/field/tests/src/Functional/Update/EmailWidgetSizeSettingUpdateTest.php Set database dump files to be used.
EmailWidgetSizeSettingUpdateTest::testFieldPostUpdateEmailWidgetSizeSetting function core/modules/field/tests/src/Functional/Update/EmailWidgetSizeSettingUpdateTest.php Tests field_post_update_email_widget_size_setting().
field_post_update_email_widget_size_setting function core/modules/field/field.post_update.php Adds the 'size' setting for email widgets.
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/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.
Mail.php file core/lib/Drupal/Core/Annotation/Mail.php
Mail.php file core/lib/Drupal/Component/Utility/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 SimpleTest email capturing logic, the assertMail assertion and the
drupalGetMails function.
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 Test 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.

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