
When entering SMTP information on my self-hosted instance, I get an error that it's not able to connect to the SMTP server.
Docker also shows this in the logs:
TypeScript
appwrite | [Error] Timestamp: 2025-03-23T06:34:24+00:00
appwrite | [Error] Method: PATCH
appwrite | [Error] URL: /v1/projects/:projectId/smtp
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: Could not connect to SMTP server: SMTP Error: Could not connect to SMTP host. Failed to connect to server
appwrite | [Error] File: /usr/src/code/app/controllers/api/projects.php
appwrite | [Error] Line: 1794
appwrite | Failed to initialize logging provider: Unable to parse DSN: scheme is required
I use Resend as my SMTP provider and would like to use it. I usually use the port 587, yes I tried 22 and 465 as well.
TL;DR
The developer is experiencing issues connecting to the SMTP server while configuring it on a self-hosted instance. The error message suggests a connection problem with the SMTP server. They specified using Resend as their SMTP provider and attempted different ports (587, 22, 465) without success. The error log from Docker indicates a failed connection to the SMTP host. The issue may lie in the SMTP configuration settings or server-side settings. Double-check the SMTP configuration details and ensure they are correct.Recommended threads
- Updating console to 1.8
Hey! Does anyone know how to update the appwrite console only? I am using console 1.7.4 but it has UI/UX issues 🙁
- Having errors migrating to cloud
Project will not migrate compeltely
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
