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
- Migration and Function glitch
I am trying to migrate from non pro appwrite project to pro appwrite project all my data but it's stuck in processing.
- Unable to signup to appwrite cloud
When attempting to create an online cloud account on appwrite.io, I get the following message : "This email address must already be in its canonical form. Pleas...
- Email address must be in its canonical f...
Hello, Recently I was trying to signup with my GitHub account with appwrite account for availing the student benifits but while trying to signup I saw such erro...