コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2374 ビュー

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/

関連投稿 返信 ビュー 活動
4
6月 24
2569
1
10月 20
7745
5
9月 20
7744
1
10月 19
5852
0
2月 19
5572