public function MailerInterface::getFrom in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Mail/MailerInterface.php \Drupal\simplenews\Mail\MailerInterface::getFrom()
- 3.x src/Mail/MailerInterface.php \Drupal\simplenews\Mail\MailerInterface::getFrom()
Build formatted from-name and email for a mail object.
Return value
array Associative array with (un)formatted from address 'address' => From address 'formatted' => Formatted, mime encoded, from name and address
1 method overrides MailerInterface::getFrom()
- Mailer::getFrom in src/
Mail/ Mailer.php - Build formatted from-name and email for a mail object.
File
- src/
Mail/ MailerInterface.php, line 112
Class
- MailerInterface
- Sends newsletter and subscription mails.
Namespace
Drupal\simplenews\MailCode
public function getFrom();