Skip to content
Back

Cannot connect to SMTP in AppWrite - settings are correct and SendGrid domain/sender is verified

  • 0
  • Self Hosted
Rich
1 May, 2025, 12:52

This used to work and then at some point it stopped. One thing that happened in that time was moving my application to Vercel. I have read on another thread that someone else had a similar issue which ended up being related to their SSL certificates.

My application uses subdomain, and previously when this was working I had manually configured the SSL details with Let'sEncrypt - but Vercel now manages this.

Another thing I did was cloned the droplet my AppWrite instance was running on and then upgraded from 1.4 to 1.6 -> whch I'm now running on the new cloned droplet with a different IP

I have verified that my .env file in appwrite has the same details as SendGrid and that I'm trying to put into AppWrite (selfhosted v1.6).

SendGrid works to send normal email via my application using the same apikey.

TL;DR
AppWrite developers facing SMTP connection issue with SendGrid despite correct settings, verified domain/sender. Issue might be related to moving application to Vercel, SSL certificate changes, or droplet cloning. Verify SSL settings, check Vercel configurations, and ensure compatibility with AppWrite version. Also check .env file for consistency and SendGrid API key usage.
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