
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
- Stuck at pinging the server to finish ad...
I'm not using the starter app and I'm not sure how to finish connecting my app to Appwrite.io. Is there a CURL command I can run to finish setup?
- 500 internal error
I get a 500 internal error when trying to access my database on appwrite cloud. Sometimes it would start working but this time it never corrects.
- Error getting session: AppwriteException...
I get this error `Error getting session: AppwriteException: User (role: guests) missing scope (account)` when running in prod. As soon as I try running my app o...
