Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2635 Tampilan

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

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Penulis

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

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

Post Terkait Replies Tampilan Aktivitas
4
Jun 24
2855
1
Okt 20
8081
5
Sep 20
8029
1
Okt 19
6094
0
Feb 19
5945