You are here

public function MailerInterface::sendTest in Simplenews 8

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

Send test version of newsletter.

Parameters

\Drupal\node\NodeInterface $node: The newsletter node 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 68

Class

MailerInterface
Sends newsletter and subscription mails.

Namespace

Drupal\simplenews\Mail

Code

public function sendTest(NodeInterface $node, array $test_addresses);