public function MailerInterface::sendMail in Simplenews 8.2
Same name and namespace in other branches
- 8 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
int One of the SpoolStorageInterface::STATUS_* constants.
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 57
Class
- MailerInterface
- Sends newsletter and subscription mails.
Namespace
Drupal\simplenews\MailCode
public function sendMail(MailInterface $mail);