Retirement of Basic Microsoft SMTP auth? #2756
detroitprincess
started this conversation in
General
Replies: 1 comment
-
Your options are much the same as for gmail – use XOAUTH2 or app passwords. PHPMailer already has support for XOAUTH2 with MS services. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the upcoming deprecation of Microsoft's basic authentication, how would everyone suggest transitioning over to a different authentication with a valid Microsoft email account? I assume that I'm using basic.
https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online
Code example:
isSMTP(); $mail->Host = 'smtp.office365.com'; $mail->Port = 587; $mail->SMTPSecure = 'tls'; $mail->SMTPAuth = true; $mail->Username = 'myusername@mydomain.com'; $mail->Password = 'xxxxxxx';Beta Was this translation helpful? Give feedback.
All reactions