This question has been flagged
1 Reply
4387 Views

Hi, does anyone have a suggestion to give me for rate so that Odoo 10 Community queues the email? The platform sends any email immediately but I want it to be the cron, starting from the outgoing emails (in the queue).

I found the OCA mail_force_queue module but it doesn't work despite it should be for me. A lot of emails pass through a platform like Odoo, how can I put them in the queue? Thanks

Avatar
Discard
Best Answer

Odoo already has an Email Queue Manager and this can be found under Scheduled Actions in General Settings. Normally non-forced mails will be in a queue and force send mail will send immediately. For eg: mail_obj.create() function will create mail record to send and this will be in a queue and you can see that under Emails in general settings. You can force send this mail by mail_obj.send() method. If you are sending mail using a template, then you can use force_send=True Parameter in the send_mail function. eg: template_id.send_mail(force_send=False)

Avatar
Discard