You are here

public function SpoolStorageInterface::addMail in Simplenews 8.2

Same name and namespace in other branches
  1. 8 src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::addMail()
  2. 3.x src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::addMail()

Save mail message in mail cache table.

Parameters

array $spool: The message to be stored in the spool table, as an array containing the following keys:

1 method overrides SpoolStorageInterface::addMail()
SpoolStorage::addMail in src/Spool/SpoolStorage.php
Save mail message in mail cache table.

File

src/Spool/SpoolStorageInterface.php, line 140

Class

SpoolStorageInterface
The spool storage manages a queue of mails that need to be sent.

Namespace

Drupal\simplenews\Spool

Code

public function addMail(array $spool);