Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5747 Lượt xem

I have created an Automated Action to send email to HR, 7 days before confirmation of any employee in the organization. I have created Server Action and changed confirmation date of one employee as well to test email flow. I got that email after around 2 hours. Is there any method or setting through which we can send email immediately for testing purpose?
 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Server actions with type 'Email' use ir_mail_server.send_email:

 """Sends an email directly (no queuing).

So maybe the condition or Timer for your automated action isn't working?

Note:

email_template.send_mail has a parameter force_send:

:param bool force_send: if True, the generated mail.message is
                immediately sent after being created, as if the scheduler
                was executed for this message only.

Regards.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 22
34040
0
thg 3 19
4106
0
thg 1 19
5168
4
thg 2 24
12406
0
thg 1 18
3987