
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
- Could not connect to SMTP host
I have tried between 2 different mails and hosts to activate the SMTP of my self-hosted Appwrite instance but to no avail. No matter what I set this is the log...
- User (role: guests) missing scope (accou...
is this an expected behavior?
- Why do we need this unnecessary verifica...
I just want to create my own project and write PROJECT_ID in it, but why should I do this meaningless verification, wasting of time? And also, the tutorial said...
