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
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 Contains \Drupal\Tests\Core\Mail\MailManagerTest.
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::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 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 Test 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.
MigrateFieldDeprecationTest::testDeprecatedEmail function core/tests/Drupal/Tests/Core/Field/MigrateFieldDeprecationTest.php Tests trigger_error when an Email object is created.
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.

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