mirror of
https://github.com/itflow-org/itflow
synced 2026-11-19 10:57:24 +00:00
Mail queue keeps what a sent email said: only an email with a link or code that opens something - a shared login and its code, a portal or agent invite, a password link, a contract to sign or a task to approve - is cleared once sent, and a day after it was queued if it failed or was cancelled; emailQueue gains a sensitive option set by those senders, cron marks sent email with mailQueueSentSql, nightly runs mailQueueClearSensitive, and a cleared email can't be retried; database 3.7.1 adds email_queue.email_sensitive and marks email waiting at the update; 26.11.9 changelog entries
This commit is contained in:
@@ -5,15 +5,15 @@
|
||||
* start, cancel it or delete it - one (retry_mail, cancel_mail, delete_mail)
|
||||
* or the ones ticked (bulk_retry_emails, bulk_cancel_emails,
|
||||
* bulk_delete_emails). Each is only done where it can be (mailQueueAct(),
|
||||
* functions/mail_queue.php) - a sent email can't be retried, as what it said
|
||||
* was cleared on sending, and one going this minute is left alone - and the
|
||||
* functions/mail_queue.php) - a sent email can't be retried, nor one whose
|
||||
* link was cleared, and one going this minute is left alone - and the
|
||||
* message says how many it was done to, and why any weren't.
|
||||
*/
|
||||
|
||||
defined('FROM_POST_HANDLER') || die("Direct file access is not allowed");
|
||||
|
||||
$mail_queue_actions = [
|
||||
'retry' => ['retry_mail', 'bulk_retry_emails', 'retried', 'Retry', ['it goes at the next run', 'they go at the next run'], 'A sent one can\'t be - what it said was cleared on sending - nor one waiting or going now.'],
|
||||
'retry' => ['retry_mail', 'bulk_retry_emails', 'retried', 'Retry', ['it goes at the next run', 'they go at the next run'], 'A sent one can\'t be, nor one waiting or going now, nor one whose link was cleared.'],
|
||||
'cancel' => ['cancel_mail', 'bulk_cancel_emails', 'cancelled', 'Cancel', ['it won\'t be sent', 'they won\'t be sent'], 'Only one still to be sent or tried again can be.'],
|
||||
'delete' => ['delete_mail', 'bulk_delete_emails', 'deleted', 'Delete', ['', ''], 'One going this minute can\'t be.'],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user