Skip to content
Advertisement

Unable to customize AWS SES email template

I am trying to send a forgot password mail through AWS SES service. I made this template

JavaScript

And this is my code in nodejs to input password reset link.

JavaScript

In this Url is what i am trying to send.

However when I receive the mail its it does not show the link but only the html text

” But don’t worry! You can use the following link to reset your password:

${url} If you don’t use this link within 1 hour, it will expire.”

How do I send the link in the mail?

Advertisement

Answer

It should be {{url}}, not ${url}. See the documentation.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement