As title, how can I change the templates? I have set the .env SMTP and email variables. However, if I try to go to templates in the dashboard it prompts me to enable the custom smtp server which I already have in the environment variables in docker? To clarify this is not cloud hosted. Is this possible?
yes, set the custom smtp settings
Along with them already being set inside the .env file?
I tried to set the custom smtp settings on their own without changing anything inside the .env file but this didn’t work.
After changing the .env file with all variables from the guide it works but now I’m unsure how to go about the templates.
Currently the setup is:
SMTP variables set with correct values inside .env file in self hosted instance
No custom smtp settings set in dashboard
now set the custom smtp settings
Will do! The same as in the .env file?
you can if you want
think of the one in your .env file as the settings for your appwrite instance (ie. doing recover password for your console user) or a fallback for your projects. then the project one is project specific smtp settings
Thank you for the explanation! So it’s intended that the project smtp to not work without the instance smtp config ?
Sort of yes. You can submit a feature request suggesting otherwise though
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...