This question has been flagged

I am trying to send email from python code below:

mail_values = {

                'subject': self.subject,

                'body': self.body or '',

                'parent_id': self.parent_id and self.parent_id.id,

                'partner_ids': [partner.id for partner in self.partner_ids],

                'email_cc' : self.partner_ids_cc,

                'attachment_ids': [attach.id for attach in self.attachment_ids],

                'author_id': self.author_id.id,

                'email_from': self.email_from,

                'record_name': self.record_name,

                'no_auto_thread': self.no_auto_thread,

                'mail_server_id': self.mail_server_id.id,

            }


Is there any other way to add cc service for mail??

Avatar
Discard