Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2382 มุมมอง

I am using Odoo v10. And I am trying to send email notification from python code. email_to attribute is working fine. I want to send Bcc along with email. Following is my code where email_to is still working but email_bcc is not working.

            mail_values = {
                'email_from': self.env.user.email,
                'email_to': manager_email,
                'email_bcc': 'mymail@mydomain.com',
                'subject': subject,
                'body_html': body,
                'state': 'outgoing',
                'type': 'email',
            }

            mail_id = mail_mail.create(mail_values)
            mail_id.send()

Let me know if further information is required. Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

There is no such functionality in base to send email to BCC. But you can either develop your own module or can find available module on apps store.

อวตาร
ละทิ้ง
ผู้เขียน

I have tried this module yet same result bcc is not working.

https://apps.odoo.com/apps/modules/10.0/base_mail_sender_bcc/

Related Posts ตอบกลับ มุมมอง กิจกรรม
Set-up Outgoing Mail Server Odoo แก้ไขแล้ว
4
มิ.ย. 24
2575
1
ต.ค. 20
7754
5
ก.ย. 20
7746
1
ต.ค. 19
5858
0
ก.พ. 19
5579