You are here

public function Email::sendMessage in Courier 8

Same name and namespace in other branches
  1. 2.x src/Entity/Email.php \Drupal\courier\Entity\Email::sendMessage()

Sends this message.

Parameters

array $options: Miscellaneous options to pass to the sender.

Overrides ChannelBase::sendMessage

File

src/Entity/Email.php, line 178
Contains \Drupal\courier\Entity\Email.

Class

Email
Defines storage for a composed email.

Namespace

Drupal\courier\Entity

Code

public function sendMessage(array $options = []) {
  $this
    ->sendMessages([
    $this,
  ], $options);
}