Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
7394 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 23
1601
1
thg 5 22
2549
0
thg 5 21
2445
2
thg 1 25
1077
0
thg 6 23
2295