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 |
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::$request |
property |
core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php |
The currently active request object. |
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. |