Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MailerInterface.php

interface MailerInterface

Interface for mailers able to send emails synchronously and/or asynchronously.

Implementations must support synchronous and asynchronous sending.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • interface \Symfony\Component\Mailer\MailerInterface

Expanded class hierarchy of MailerInterface

All classes that implement MailerInterface

1 file declares its use of MailerInterface
SymfonyMailer.php in core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php

File

vendor/symfony/mailer/MailerInterface.php, line 24

Namespace

Symfony\Component\Mailer
View source
interface MailerInterface {
    
    /**
     * @throws TransportExceptionInterface
     */
    public function send(RawMessage $message, ?Envelope $envelope = null) : void;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
MailerInterface::send public function 1
RSS feed
Powered by Drupal