You are here

public function MailInterface::getRecipient in Simplenews 3.x

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

Returns the recipient of this newsletter mail.

Return value

string The recipient mail address(es) of this newsletter as a string.

2 methods override MailInterface::getRecipient()
MailEntity::getRecipient in src/Mail/MailEntity.php
Returns the recipient of this newsletter mail.
MailTest::getRecipient in src/Mail/MailTest.php
Returns the recipient of this newsletter mail.

File

src/Mail/MailInterface.php, line 77

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

public function getRecipient();