Project

General

Profile

Actions

Refactor #36118

open

mails should use the deliver_later

Added by Ron Lavi about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
E-Mail
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

We shouldn't use deliver or deliver_now.
Always use deliver_later. deliver_now is synchronous and therefore users will have to wait for the email to be sent before receiving an answer. The server may take longer to answer and you really don’t want your users to wait for it.
Also because of the fact that the mail server answers, doesn’t mean that the email has been delivered, and especially that it has been delivered correctly.

So always use deliver_later

Actions #1

Updated by Ewoud Kohl van Wijngaarden about 1 year ago

Except for the Test mail where you do want it synchronous because the result informs the user.

Actions

Also available in: Atom PDF