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:
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.
Recommended threads
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...