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
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...