Search for mail

  1. Search 7.x for mail
  2. Search 9.5.x for mail
  3. Search 8.9.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/Mail/Attribute/Mail.php Defines a Mail attribute for plugin discovery.
Mail class core/lib/Drupal/Core/Annotation/Mail.php Defines a Mail annotation object.

All search results

Title Object type File name Summary
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.
logger.channel.mail service core/core.services.yml
Mail class core/lib/Drupal/Core/Annotation/Mail.php Defines a Mail annotation object.
Mail class core/lib/Drupal/Core/Mail/Attribute/Mail.php Defines a Mail attribute for plugin discovery.
Mail.php file core/lib/Drupal/Core/Mail/Attribute/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::__construct function core/lib/Drupal/Core/Mail/Attribute/Mail.php Constructs a Mail attribute.
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.
MailDsnSettingsUpdateTest class core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php Tests creation of default mail transport dsn settings.
MailDsnSettingsUpdateTest.php file core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php
MailDsnSettingsUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php Set database dump files to be used.
MailDsnSettingsUpdateTest::testSystemPostUpdateMailerDsnSettings function core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php Tests system_post_update_mailer_dsn_settings().
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.

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