public function MailerInterface::sendMail in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Mail/MailerInterface.php \Drupal\simplenews\Mail\MailerInterface::sendMail()
- 3.x src/Mail/MailerInterface.php \Drupal\simplenews\Mail\MailerInterface::sendMail()
Send a node to an email address.
Parameters
\Drupal\simplenews\Mail\MailInterface $mail: The mail object.
Return value
bool TRUE if the email was successfully delivered; otherwise FALSE.
1 method overrides MailerInterface::sendMail()
- Mailer::sendMail in src/
Mail/ Mailer.php - Send a node to an email address.
File
- src/
Mail/ MailerInterface.php, line 58
Class
- MailerInterface
- Sends newsletter and subscription mails.
Namespace
Drupal\simplenews\MailCode
public function sendMail(MailInterface $mail);