콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2451 화면

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
2689
1
10월 20
7911
5
9월 20
7874
1
10월 19
5950
0
2월 19
5721