콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4147 화면

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
3031
2
8월 17
16302
4
4월 25
7319
1
1월 18
5830
0
5월 17
5608