Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
7329 Zobrazení

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.

Avatar
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Autor

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

Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
úno 23
1580
1
kvě 22
2483
0
kvě 21
2426
2
led 25
1041
0
čvn 23
2259