Unable to modify Magic URL email content. Changes to translation files (en.json) and email templates (email-magic-url.tpl) are not reflected in sent emails. Here are the steps i did (very simple scenario):
- Modified Translation File (created and new one under appwrite/custom-translations directory): File: en.json Change: Updated "emails.magicSession.hello": "Hello from vim {{user}}," Verified: SSH'd into container and confirmed the change was there
- Volume Mounting (Production Server)
appwrite:
volumes:
- ./custom-translations:/usr/src/code/app/config/locale/translations:ro
- Restarted Services docker restart appwrite docker restart appwrite-worker-mails
and the email is being sent from my custom SMTP on production and still no changes.
Also when i do "docker exec -it appwrite" and navigation to the en.json file, i can find my updates already there!!
solved and blogged about it: https://wellrounded.engineer/how-to-customize-appwrite-email-templates-in-production/
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...