You are here

public function MailerInterface::sendTest in Simplenews 3.x

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

Send test version of newsletter.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $issue: The newsletter issue to be sent.

array $test_addresses: List of addresses to send the newsletter to.

1 method overrides MailerInterface::sendTest()
Mailer::sendTest in src/Mail/Mailer.php
Send test version of newsletter.

File

src/Mail/MailerInterface.php, line 67

Class

MailerInterface
Sends newsletter and subscription mails.

Namespace

Drupal\simplenews\Mail

Code

public function sendTest(ContentEntityInterface $issue, array $test_addresses);