Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable SMTP debugging in doctor #5075

Closed
wants to merge 1 commit into from

Conversation

stnguyen90
Copy link
Contributor

What does this PR do?

Enable debug messages when checking SMTP to help troubleshoot SMTP problems.

Test Plan

image

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

$mail = $register->get('smtp'); /* @var $mail \PHPMailer\PHPMailer\PHPMailer */
/** @var PHPMailer\PHPMailer\PHPMailer $mail */
$mail = $register->get('smtp');
$mail->SMTPDebug = PHPMailer\PHPMailer\SMTP::DEBUG_SERVER;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeh, this feels quite messy. We can try and have a different command for doing this.

Something like:
docker exec appwrite debug smtp

@LyVanBong
Copy link

I am also encountering a problem with the SMTP configuration of the Outlook Office 365 email.

@stnguyen90 stnguyen90 closed this Feb 14, 2023
@stnguyen90 stnguyen90 deleted the feat-1390-smtp-debug-doctor branch February 14, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants