Skip to content
Back

Custom SMTP update not working

  • 0
  • General
  • Self Hosted
QuadWord
2 Sep, 2023, 13:50

But what do i gain if i use the same server as the default one ? Template editing ? Just want to figure out if i need this for any additional functionality which i would not have with the default server settings)

TL;DR
The user is experiencing issues with updating their custom SMTP settings. They initially tried changing the TLS to SSL in their mail server, but it didn't work. They asked if they can enable SSL from the docker-compose file. The user confirms that they updated the variables in the docker-compose file and ran `docker compose up -d` after making the changes. It is mentioned that the variables should be set up in the docker-compose file according to a document they were following to update the SMTP. It is suggested to check if all the necessary variables have been set up correctly. The user mentions that their mail is working but still receives a disconnected message
D5
2 Sep, 2023, 13:51

Yes

D5
2 Sep, 2023, 13:52

To edit templates you will need having the default server setup in the env var and there

QuadWord
2 Sep, 2023, 13:52

thanks !

Dipen
2 Sep, 2023, 14:37
Dipen
2 Sep, 2023, 14:37

my mail is working but it says SMTP is disconnected

D5
2 Sep, 2023, 15:21

That's the problem then

D5
2 Sep, 2023, 15:21

You need to setup the corresponding variables in the docker compose file as said

Dipen
2 Sep, 2023, 15:23
Dipen
2 Sep, 2023, 15:23

i was following this document to update the smtp

D5
2 Sep, 2023, 15:25

Did you have done that?

D5
2 Sep, 2023, 15:26

And setup all those vars?

D5
2 Sep, 2023, 15:26

In the docker compose file too?

Dipen
2 Sep, 2023, 15:26

yes.. i did but it didn't say to update in docker compose file

Dipen
2 Sep, 2023, 15:26

so i was searching where to put those variables

D5
2 Sep, 2023, 15:27

Did you ran docker compose up -d After changing them?

D5
2 Sep, 2023, 15:27

In your appwrite folder, there's a file called docker-compose.yml

D5
2 Sep, 2023, 15:27

There you can find all variables in such file

Dipen
2 Sep, 2023, 15:28

yes

Dipen
2 Sep, 2023, 15:28

ok wait..

D5
2 Sep, 2023, 15:29

Also note in the docker compose file there are 2 container that need the var to be changed

Dipen
2 Sep, 2023, 15:40

yes updated

Dipen
2 Sep, 2023, 15:40

still the same

Dipen
2 Sep, 2023, 16:19

can i enable this from hardcoded docker compose ?

Dipen
3 Sep, 2023, 05:18

I guess my mail server didn't support the TLS .. i had to put SSL

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