Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7175 Vizualizări

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.

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

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

Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 23
1467
1
mai 22
2385
0
mai 21
2334
2
ian. 25
895
0
iun. 23
2132