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

How can I create mass(resend) mail for all failed emails.

アバター
破棄
最善の回答

Hi,

The above link i have commented seems to be of v8. As you want in v10, you can use this code in your function or from a cron job

mail_failed_list = self.env['mail.mail'].search([('state', '=', 'exception')])
for failed_mail in mail_failed_list:
failed_mail.state = 'outgoing'

Thanks

アバター
破棄
関連投稿 返信 ビュー 活動
0
1月 18
2905
2
8月 17
16109
4
4月 25
7163
1
1月 18
5716
0
5月 17
5436