Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
860 Näkymät

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. 

Avatar
Hylkää
Tekijä

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.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 23
2621
2
marrask. 24
1296
2
elok. 18
3286
1
jouluk. 17
5556
1
heinäk. 25
1510