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
Could not authenticate - with Office365 #1257
Comments
Your code all looks correct. If you set |
need a solution for this problem.. Im stuck on this too |
It is with the office365 mail. Check on the admin side whether the user has the rights to access with the email clients. Try to connect with email clients like Thunderbird first and if it doesn't work, it should be a problem with the email configuration. Contact the email administrator to provide all the options. |
I've been having a similar issue - posting here as it's the third result when googling "could not authenticate outlook phpmailer tls". |
It's nothing to do with auth. |
https://www.youtube.com/watch?v=Ydalru8_TmY&ab_channel=TeeVee try this in your office365 account and wait for a while search it in settings of outlook 'smtp' try staty safe from malappuram kerala india |
use the outlook mail id at setfrom too |
Hi,
I'm using the latest version of PHPMailer for office365. The connection isn't succeeded with tls. I'm getting erros like authentication failed, but I verified the email and password and it is correct. I tried connecting with thunderbird for double checking the smtp, it works well. I don't understand why it is showing logs like authentication failed.
Here is my log.
This is the part of my code :
Can you please help me identify and fix the issue?
The text was updated successfully, but these errors were encountered: