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
- Paused project can't activate
I have failed to reactivate one my projects which had been paused
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...