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

Hello, 

We recently converted to V16 from V13.  

Our email templates include an email link at the beginning of the email.  I'm having trouble updating the code to correctly launch an email using the user email address.  However, I can't seem to get the right syntax.

I've tried using the link generator (doesn't work)  and

both were the same... the user email address is displayed in the email, but the emails are addressed to "{{object.user_id.email}}"  instead of the users email address.

Any help is appreciated. 

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

The code snips were removed for some reason. I also tried :

"<br><br>Please send order acknowledgment to: &nbsp; <a href="mailto:{{object.user_id.email}}" > <t t-out="object.user_id.email"></t> </a>&nbsp;"

and the %7B%7B and %7D%7D in place of the {{ }} -- both returned the same "{{object.user_id.email}}" instead of the users email address.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 23
2723
2
thg 11 24
1403
2
thg 8 18
3346
1
thg 12 17
5688
1
thg 7 25
1730