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

Documentation improvement: How to use Microsoft OAuth with PHPMailer #2788

Closed
Synchro opened this issue Oct 4, 2022 · 3 comments
Closed
Labels
Documentation Good first project Issues that are fairly easy and don't require deep understanding of low-level email protocols. Hacktoberfest Issues well suited to Hacktoberfest PRs! Help wanted

Comments

@Synchro
Copy link
Member

Synchro commented Oct 4, 2022

Now that Microsoft have discontinued their support for simple username/password authentication, many people are trying to switch to use XOAUTH2 instead. Unfortunately this appears to be a complete nightmare, as discussed in #2747, #2116, #1959, #1901, etc. A wiki article detailing how to set it up would be much appreciated by many of PHPMailer's users.

@Synchro Synchro added Help wanted Documentation Good first project Issues that are fairly easy and don't require deep understanding of low-level email protocols. Hacktoberfest Issues well suited to Hacktoberfest PRs! labels Oct 4, 2022
@greew
Copy link
Contributor

greew commented Oct 6, 2022

I'll probably add a wiki page with a detailed explanation tomorrow 😊

@greew
Copy link
Contributor

greew commented Oct 7, 2022

Here we go!

https://github.com/PHPMailer/PHPMailer/wiki/Microsoft-Azure-and-XOAUTH2-setup-guide

I'll have a Pull Request in a few minutes with additions for get_oauth_token.php and an azure example file :)

@Synchro
Copy link
Member Author

Synchro commented Oct 25, 2022

Thanks for all your effort on this. Hopefully Microsoft will make it easier and more reliable at some point, but until then...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Good first project Issues that are fairly easy and don't require deep understanding of low-level email protocols. Hacktoberfest Issues well suited to Hacktoberfest PRs! Help wanted
Projects
None yet
Development

No branches or pull requests

2 participants