Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5603 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 17
8819
0
thg 2 25
1209
1
thg 11 24
2061
0
thg 10 23
40
2
thg 1 25
8408