Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5576 Представления

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

Аватар
Отменить
Лучший ответ

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)

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июн. 17
8805
0
февр. 25
1201
1
нояб. 24
2045
0
окт. 23
40
2
янв. 25
8383