public function MailerInterface::sendTest in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Mail/MailerInterface.php \Drupal\simplenews\Mail\MailerInterface::sendTest()
- 3.x 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\MailCode
public function sendTest(ContentEntityInterface $issue, array $test_addresses);