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
MailManagerTest::setUpMailManager function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Sets up the mail manager for testing.
MailManagerTest::testGetInstance function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Tests the getInstance method.
MailManagerTest::testMailInRenderContext function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Tests that mails are sent in a separate render context.
MailTest class core/modules/system/tests/src/Kernel/Mail/MailTest.php Performs tests on the pluggable mailing framework.
MailTest class core/tests/Drupal/Tests/Component/Utility/MailTest.php Test mail helpers implemented in Mail component.
MailTest.php file core/modules/system/tests/src/Kernel/Mail/MailTest.php
MailTest.php file core/tests/Drupal/Tests/Component/Utility/MailTest.php
MailTest::$modules property core/modules/system/tests/src/Kernel/Mail/MailTest.php Modules to enable.
MailTest::configureDefaultMailInterface function core/modules/system/tests/src/Kernel/Mail/MailTest.php Configures the default mail interface.
MailTest::providerTestDisplayName function core/tests/Drupal/Tests/Component/Utility/MailTest.php Data provider for testFormatDisplayName().
MailTest::setUp function core/modules/system/tests/src/Kernel/Mail/MailTest.php
MailTest::testCancelMessage function core/modules/system/tests/src/Kernel/Mail/MailTest.php Tests that message sending may be canceled.
MailTest::testConvertRelativeUrlsIntoAbsolute function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks that relative paths in mails are converted into absolute URLs.
MailTest::testErrorMessageDisplay function core/modules/system/tests/src/Kernel/Mail/MailTest.php Assert that the pluggable mail system is functional.
MailTest::testFormatDisplayName function core/tests/Drupal/Tests/Component/Utility/MailTest.php Tests RFC-2822 'display-name' formatter.
MailTest::testFromAndReplyToHeader function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks the From: and Reply-to: headers.
MailTest::testPluggableFramework function core/modules/system/tests/src/Kernel/Mail/MailTest.php Assert that the pluggable mail system is functional.
MailTest::testRenderedElementsUseAbsolutePaths function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks that mails built from render arrays contain absolute paths.
MailToFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php Plugin implementation of the 'email_mailto' formatter.
MailToFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php
MailToFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php Builds a renderable array for a field value.
mail_cancel_test.info.yml file core/modules/system/tests/modules/mail_cancel_test/mail_cancel_test.info.yml core/modules/system/tests/modules/mail_cancel_test/mail_cancel_test.info.yml
mail_cancel_test.module file core/modules/system/tests/modules/mail_cancel_test/mail_cancel_test.module Helper module for the catching mail that needs to be cancelled.
mail_cancel_test_mail_alter function core/modules/system/tests/modules/mail_cancel_test/mail_cancel_test.module Implements hook_mail_alter().
mail_html_test.info.yml file core/modules/system/tests/modules/mail_html_test/mail_html_test.info.yml core/modules/system/tests/modules/mail_html_test/mail_html_test.info.yml
mail_html_test.module file core/modules/system/tests/modules/mail_html_test/mail_html_test.module Helper module for the html mail and url conversion tests.
mail_html_test_mail function core/modules/system/tests/modules/mail_html_test/mail_html_test.module Implements hook_mail().
Message::getSenderMail function core/modules/contact/src/Entity/Message.php Returns the email address of the sender.
Message::setSenderMail function core/modules/contact/src/Entity/Message.php Sets the email address of the sender.
MessageForm::$mailHandler property core/modules/contact/src/MessageForm.php The contact mail handler service.
MessageInterface::getSenderMail function core/modules/contact/src/MessageInterface.php Returns the email address of the sender.
MessageInterface::setSenderMail function core/modules/contact/src/MessageInterface.php Sets the email address of the sender.
MigrateUpgradeExecuteTestBase::useTestMailCollector function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php Helper to set the test mail collector in settings.php.
MigrateUpgradeTestBase::assertEmailsSent function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php Confirm emails were sent.
MigrateUserConfigsTest::testUserMail function core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php Tests migration of user variables to user.mail.yml.
MigrateUserConfigsTranslationTest::testUserMail function core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php Tests migration of i18n user variables to user.mail.yml.
MigrateUserMailTest class core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserMailTest.php Migrates user mail configuration.
MigrateUserMailTest.php file core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserMailTest.php
MigrateUserMailTest::setUp function core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserMailTest.php
MigrateUserMailTest::testMigration function core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserMailTest.php Tests the migration.
PhpMail class core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Defines the default Drupal mail backend, using PHP's native mail() function.
PhpMail.php file core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php
PhpMail::$configFactory property core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php The configuration factory.
PhpMail::doMail function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Wrapper around PHP's mail() function.
PhpMail::format function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Concatenates and wraps the email body for plain-text mails.
PhpMail::mail function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Sends an email message.
PhpMail::MAILBOX_LIST_HEADERS constant core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php A list of headers that can contain multiple email addresses.
PhpMail::_isShellSafe function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php Disallows potentially unsafe shell characters.
PhpMail::__construct function core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php PhpMail constructor.
PhpMailTest class core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php @coversDefaultClass \Drupal\Core\Mail\Plugin\Mail\PhpMail
@group Mail

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