Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
7425 Ansichten

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
Verwerfen
Autor Beste Antwort

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
Verwerfen
Autor

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

Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Feb. 23
1616
1
Mai 22
2576
0
Mai 21
2461
2
Jan. 25
1115
0
Juni 23
2346