コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5732 ビュー

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?
 

アバター
破棄
最善の回答

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.

アバター
破棄
関連投稿 返信 ビュー 活動
2
5月 22
34031
0
3月 19
4099
0
1月 19
5156
4
2月 24
12395
0
1月 18
3977