You are here

function MailerInterface::sendCombinedConfirmation in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Mail/MailerInterface.php \Drupal\simplenews\Mail\MailerInterface::sendCombinedConfirmation()
  2. 3.x src/Mail/MailerInterface.php \Drupal\simplenews\Mail\MailerInterface::sendCombinedConfirmation()

Send collected confirmations.

Depending on the settings, always sends a combined confirmation, only when there are multiple changes for a subscriber or never.

@todo This function currently does not return information about which subscriber received a confirmation.

Return value

bool TRUE if any confirmation mails have been sent.

1 method overrides MailerInterface::sendCombinedConfirmation()
Mailer::sendCombinedConfirmation in src/Mail/Mailer.php
Send collected confirmations.

File

src/Mail/MailerInterface.php, line 82

Class

MailerInterface
Sends newsletter and subscription mails.

Namespace

Drupal\simplenews\Mail

Code

function sendCombinedConfirmation(SubscriberInterface $subscriber);