RaphaelOriginal post
Web Developer
I have an own Instance of appwrite. SMTP wont work
ENV
_APP_SMTP_HOST=5.180.252.100
_APP_SMTP_PORT=465
_APP_SMTP_SECURE=
_APP_SMTP_USERNAME=noreply@schuelerpenning.de
_APP_SMTP_PASSWORD=PASSWORD
ERROR
appwrite-worker-mails | [Worker] Worker 0 is ready!
appwrite-worker-mails | Worker mails started
appwrite-worker-mails | [Job] Received Job (671a880fde09b0.59872047).
appwrite-worker-mails | [Job] (671a880fde09b0.59872047) failed to run.
appwrite-worker-mails | [Job] (671a880fde09b0.59872047) Error sending mail: SMTP Error: Could not connect to SMTP host.
appwrite-worker-mails | Using deprecated logging configuration. Please update your configuration to use DSN format.Unable to parse DSN: scheme is required
appwrite-worker-mails | [Error] Type: Exception
appwrite-worker-mails | [Error] Message: Error sending mail: SMTP Error: Could not connect to SMTP host.
appwrite-worker-mails | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
appwrite-worker-mails | [Error] Line: 145
can anyone help please?
Summary
Developers having issues with SMTP settings in their own Appwrite instance. Error message "SMTP Error: Could not connect to SMTP host." Check SMTP host, port, secure, username, and password settings. Check deprecated logging configuration as well.