You are here

private function PrivateMessageThreadManager::sendMail in Private Message 8

Send the notification email.

Return value

$this

File

src/Service/PrivateMessageThreadManager.php, line 118

Class

PrivateMessageThreadManager
The Private Message generator class.

Namespace

Drupal\private_message\Service

Code

private function sendMail() {
  $this->privateMessageMailer
    ->send($this->message, $this->thread, $this
    ->getMailRecipients());
  return $this;
}