You are here

public function MailTest::getFromAddress in Simplenews 8.2

Same name and namespace in other branches
  1. 8 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getFromAddress()
  2. 3.x src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getFromAddress()

Returns the plain mail address.

Return value

string The mail address.

Overrides MailInterface::getFromAddress

File

src/Mail/MailTest.php, line 59

Class

MailTest
Example mail implementation used for tests.

Namespace

Drupal\simplenews\Mail

Code

public function getFromAddress() {
  return 'simpletest@example.com';
}