Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3923 Переглядів

how is possible to add a static email address (ccn) in the outgoing email which confirm Event Registration?

Аватар
Відмінити
Найкраща відповідь

Hi Davide, you can search for the email template which you are using for sending event registration confirmation email under settings->email->templates and then for that template there will be a tab called Email Configuration there you can define your static email CC.

Method 2 : you can also define it at you python code like,

Sample code syntax :

mail_vals = {

                     'email_from':'specify email from',

                     'email_to': 'specify email to',

                     'email_cc':'specify email cc',

                     'subject':'specify subject',

                     'body_html':'specify body',

                     }

self.pool.get('mail.mail').create(cr,uid,mail_vals)

Method 3:  Once you search and get the template id then you can write the required email_cc for that related template to achive the functionality.

Sample code syntax:

self.pool.get('mail.template').write(cr,uid,template_id,{'email_to':'add email to','email_from':'add email from','email_cc':'add email cc'})

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
груд. 23
9139
1
січ. 19
5843
1
трав. 23
3763
2
лип. 19
4912
3
трав. 18
4970