跳至内容
菜单
此问题已终结
2 回复
7321 查看

Hello,

What is the difference between partner_to and email_to in email.template?

and when i should use email_to instead of partner_to?


Thanks.

形象
丢弃
编写者 最佳答案

Hello Nishant,

Thanks to replay. 

my xml code look like this (each email separated by comma):

<field name="email_to">${(object.user_id.email or '')|safe}, ${(object.partner_id.email or '')|safe}</field>

When launching the email template form, the email address is visible in recipients fields (it's look like everything is ok - there are two email destination)

The problem is, only the last email address that receive email

形象
丢弃
编写者

Problem solved, I removed the whitespace after email address separator (comma).

最佳答案

Hello,

email_to:

Inside email_to you can enter email addresses saperated by comma.

partner_to:

Inside partner_to you need to enter partner ID saperated with comma so email will be send to email address of enterd partner IDS.

Hope this will be helpful.

形象
丢弃
相关帖文 回复 查看 活动
0
2月 23
1580
1
5月 22
2482
0
5月 21
2422
2
1月 25
1034
0
6月 23
2256