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?
Summary
The user wants to know how to customize the email templates on a self-hosted instance. They have already set the SMTP variables in the .env file, but when they go to the dashboard to change the templates, it prompts them to enable the custom SMTP server again. They want to know if it is possible to change the templates without enabling the custom SMTP server. There is no solution provided in the support thread.
Drake
Oct 24, 2023, 21:53
yes, set the custom smtp settings
elnur
Rank 2: Process
Oct 24, 2023, 22:03
Along with them already being set inside the .env file?
elnur
Rank 2: Process
Oct 24, 2023, 22:05
I tried to set the custom smtp settings on their own without changing anything inside the .env file but this didn’t work.
elnur
Rank 2: Process
Oct 24, 2023, 22:06
After changing the .env file with all variables from the guide it works but now I’m unsure how to go about the templates.
elnur
Rank 2: Process
Oct 24, 2023, 22:07
Currently the setup is:
SMTP variables set with correct values inside .env file in self hosted instance
No custom smtp settings set in dashboard
Drake
Oct 24, 2023, 22:09
now set the custom smtp settings
elnur
Rank 2: Process
Oct 24, 2023, 22:11
Will do! The same as in the .env file?
Drake
Oct 24, 2023, 22:12
you can if you want
Drake
Oct 24, 2023, 22:13
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
elnur
Rank 2: Process
Oct 24, 2023, 22:39
Thank you for the explanation! So it’s intended that the project smtp to not work without the instance smtp config ?
Drake
Oct 24, 2023, 22:49
Sort of yes. You can submit a feature request suggesting otherwise though