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

Breadcrumb

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

function MessageEvent::reject

File

vendor/symfony/mailer/Event/MessageEvent.php, line 75

Class

MessageEvent
Allows the transformation of a Message and the Envelope before the email is sent.

Namespace

Symfony\Component\Mailer\Event

Code

public function reject() : void {
    $this->rejected = true;
    $this->stopPropagation();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal