10000 🐛 Bug Report: test email address cause SMTP disconnected · Issue #4952 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
🐛 Bug Report: test email address cause SMTP disconnected  #4952
Open
@gepd

Description

@gepd

👟 Reproduction steps

  1. Add your SMTP credentials in your .env file
  2. Run docker exec appwrite doctor
  3. 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

$mail->addAddress('demo@example.com', '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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0