I want to use user id/name in custom emails, when i use {{trans "% name," name = $ user.name}} , i get empty field.

Do I have to create custom variables for this data?

  • Which template you want to use these variables, a new template or a template that already exists, can you give us more explanations? – Freddy Freddy May 5 at 3:55
  • Hi, i want to make a custom template "Forgot Admin Password" when I use the default text in my new template, I see that the link has no user id number. – mac_mod May 5 at 4:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.