Open
Description
👟 Reproduction steps
- Add your SMTP credentials in your
.env
file - Run
docker exec appwrite doctor
- You can get
SMTP.............disconnected 👎
👍 Expected behavior
You should get SMTP................connected 👍
👎 Actual Behavior
Currently the doctor try to send an email to demo@example.com
Line 139 in 15107f0
debuggin the error returned by the code, I have found this message:
PHPMailer\PHPMailer\Exception: SMTP Error: The following recipients failed: demo@example.com: The mail server could not deliver mail to demo@example.com. The account or
domain may not exist, they may be blacklisted, or missing the proper dns
entries.
So my SMTP server haven't any problem but as the server can't find the address demo@example.com
it fails
In my instance I have updated the code and I've added the env var _APP_SMTP_TEST_EMAIL
to change this address
Would you accept a PR to fix this issue with this change?
🎲 Appwrite version
Version 1.2.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct