How can I create mass(resend) mail for all failed emails.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
3126
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Jan 18
|
2056 | ||
|
2
Aug 17
|
14075 | ||
|
4
Dec 22
|
5765 | ||
|
1
Jan 18
|
4695 | ||
|
0
May 17
|
4565 |
Check this module , https://www.odoo.com/apps/modules/8.0/wct_email_auto_resend/