Back

difference between SMTP settings in .env and Console

  • 0
  • Self Hosted
  • Auth
  • General
borisborais
21 Feb, 2025, 12:06

hi everyone, I want to set up custom SMTP server for self-hosted appwrite instance. Currently, I'm developing locally and just used Console to set up my smtp params in /settings/smtp. (it's not working, I receive error AppwriteException: SMTP disabled) So, basically I think it should be enabled via .env - but then I've a question about difference between .env and console settings.

It seems like some options are not synced via Console?

TL;DR
- .env SMTP settings are used for console password resets and user invites. - Console SMTP settings are used for sending Auth-related templates to users in a Project. - The developer is developing a self-hosted appwrite instance and facing SMTP issues. - The developer should enable SMTP via .env as it's not working through console settings. - The developer is curious about the differences between .env and console SMTP settings.
Darshan Pandya
21 Feb, 2025, 12:33
  1. .env SMTP settings are used for console password resets, sending invites to users for joining the team.
  2. Console SMTP settings are used for sending emails like Auth related templates for your users in a Project.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more