function SpoolListInterface::nextMail in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Spool/SpoolListInterface.php \Drupal\simplenews\Spool\SpoolListInterface::nextMail()
- 3.x src/Spool/SpoolListInterface.php \Drupal\simplenews\Spool\SpoolListInterface::nextMail()
Returns a Simplenews source to be sent.
A single source may represent any number of mail spool rows, e.g. by addressing them as BCC.
Return value
\Drupal\simplenews\Mail\MailInterface
1 method overrides SpoolListInterface::nextMail()
- SpoolList::nextMail in src/
Spool/ SpoolList.php - Returns a Simplenews source to be sent.
File
- src/
Spool/ SpoolListInterface.php, line 18
Class
- SpoolListInterface
- A list of spooled mails.
Namespace
Drupal\simplenews\SpoolCode
function nextMail();