mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 11:57:25 +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:
@@ -665,7 +665,7 @@ function shareEmailLink($row, $url, $protect) {
|
||||
'summary' => $summary,
|
||||
'callout' => $callout,
|
||||
'button' => ['label' => $button, 'url' => (string) $url, 'show_url' => true],
|
||||
], ['from' => shareMailFrom()]);
|
||||
], ['from' => shareMailFrom(), 'sensitive' => true]);
|
||||
}
|
||||
|
||||
/** The code that opens a link protected by one, to its recipient. True when it was queued. */
|
||||
@@ -677,7 +677,7 @@ function shareEmailCode($row, $code) {
|
||||
'title' => "Your code is $code",
|
||||
'intro' => ['Enter it on the page that asked for it, to open the secure link ' . $company['name'] . ' sent you. It works for ' . SHARE_CODE_MINUTES . ' minutes.'],
|
||||
'callout' => 'If you did not ask for it, someone else has the link - ignore this email and let us know.',
|
||||
], ['from' => shareMailFrom()]);
|
||||
], ['from' => shareMailFrom(), 'sensitive' => true]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user