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 10.3.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
MailManagerInterface interface core/lib/Drupal/Core/Mail/MailManagerInterface.php Provides an interface for sending mail.
MailManagerInterface.php file core/lib/Drupal/Core/Mail/MailManagerInterface.php
MailManagerInterface::mail function core/lib/Drupal/Core/Mail/MailManagerInterface.php Composes and optionally sends an email message.
MailManagerTest class core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php @coversDefaultClass \Drupal\Core\Mail\MailManager
@group Mail
MailManagerTest.php file core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
MailManagerTest::$cache property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The cache backend to use.
MailManagerTest::$configFactory property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The configuration factory.
MailManagerTest::$definitions property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php A list of mail plugin definitions.
MailManagerTest::$discovery property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The plugin discovery.
MailManagerTest::$mailManager property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The mail manager under test.
MailManagerTest::$moduleHandler property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The module handler.
MailManagerTest::$renderer property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The renderer.
MailManagerTest::$request property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The current request.
MailManagerTest::$requestStack property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The request stack.
MailManagerTest::setUp function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
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.php file core/modules/system/tests/src/Kernel/Mail/MailTest.php
MailTest::$modules property core/modules/system/tests/src/Kernel/Mail/MailTest.php Modules to install.
MailTest::configureDefaultMailInterface function core/modules/system/tests/src/Kernel/Mail/MailTest.php Configures the default mail interface.
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::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
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
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

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