Hi, I have Pro subscription and want to use the email templets the default setup is ``` <p>Hello {{user}},</p>
<p>{{emails.otpSession.body}}</p> <p><a href="{{redirect}}" target="_blank">{{redirect}}</a></p> <p>{{emails.otpSession.footer}}</p> <p style="margin-bottom: 32px"> Thanks, <br/> {{project}} team </p>``` I tried to customize the email but the OTP is not shown in the email. I received something like this {{emails.otpSession.body}}TL;DR
- Developer has Pro subscription and is customizing email templates for OTP session
- Tried to include OTP in the email but it's not showing up
- Solution: Check the syntax for variables and ensure they are correctly placed in the email template. Use the provided guide for writing message templates.you can follow this guide to properly write message templates: https://appwrite.io/docs/advanced/platform/message-templates
Recommended threads
- My Bill
I have an old project from appwrite 2 years ago and I did not pay a 15 usd. Now I am planning to pay it so I can reuse my Card. now I was shocked why it became ...
- Bug Report: Appwrite Cloud Functions – E...
Bug Report: Appwrite Cloud Functions – ERR_INVALID_CHAR on Execution Summary: There is a critical platform-level bug affecting Appwrite Cloud Functions in the ...
- I’m facing an issue with deployments on ...
Hi Appwrite Support, I’m facing an issue with deployments on Appwrite Sites. A few days ago (around 3–4 days back), everything was working perfectly. My deplo...