appwrite: π Bug Report: test email address cause SMTP disconnected
π Reproduction steps
- Add your SMTP credentials in your
.envfile - 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
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
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 28 (11 by maintainers)
Commits related to this issue
- #4952 bug resolved — committed to Abhinav163/appwrite by Abhinav163 2 years ago
@DH-555 understood sirβ¦i have raised a proposal on another bugβ¦if you have time,please review it once
Hello. Weβre discussing whatβs the best approach for this
Working on the same and will resolve it by 1st week of feb
On Tue, 28 Jan, 2025, 12:42 pm Raman Tank, @.***> wrote:
Unassigning @mustansirgodhrawala due to inactivity. Assigning @DevilsAutumn now.
@Haimantika Rest assured, Iβm handling this issue. I should have a PR out by eod tomorrow, some of my changes could break our e2e tests so Iβm trying to avert major changes.
Assigning this to you.
Actually, instead of an environment variable, I think it would be good to expose the email as a parameter to the CLI command.