Back

Could not connect to SMTP server while setting smtp in self hosted console.

  • 0
  • Self Hosted
WildAnimal
4 Dec, 2023, 02:09

I had configured smtp in .env file, and it works well. But I want to edit email template in console page, and system tell me I must set the smtp infomation in console page first. When I set the smtp in page, there is an error message: Could not connect to SMTP server. But I inputed the same information with .env smtp info. What is wrong? Apprite version is 1.4.9.

TL;DR
The user is unable to connect to the SMTP server while setting up SMTP in the self-hosted console. They have already configured SMTP in the .env file and it works fine. However, when they try to edit the email template in the console page, they are prompted to set the SMTP information in the console page first. When they input the same information as in the .env file, they receive an error message saying "Could not connect to SMTP server." The apprite version is 1.4.9. Solution: Check if the SMTP secure environment variable is correctly set.
Drake
4 Dec, 2023, 12:44

What did you put for the SMTP secure env var?

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