You are here

function SpoolStorageInterface::updateMails in Simplenews 8

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

Update status of mail data in spool table.

Time stamp is set to current time.

Parameters

array $msids: Array of Mail spool ids to be updated

array $data: Array containing email sent results, with the following keys:

  • status: Any of the status constants.
  • error: (optional) The error id. Defaults to 0 (no error).
1 method overrides SpoolStorageInterface::updateMails()
SpoolStorage::updateMails in src/Spool/SpoolStorage.php
Update status of mail data in spool table.

File

src/Spool/SpoolStorageInterface.php, line 75

Class

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

Namespace

Drupal\simplenews\Spool

Code

function updateMails($msids, array $data);