SMTP Authentication
I need an email to use in another software that can send through SMTP. Gmail and Outlook are both no longer using SMTP. How do I set this up to work? The required information in the other software is SMTP Mail Server and port.
所有回覆 (4)
Both Gmail and Outlook have stopped support SMTP so these do not work anymore.
Rush Arbogast said
Both Gmail and Outlook have stopped support SMTP so these do not work anymore.
No they have not.
Check out all of the following as Microsoft have been busy altering a load of things.
You may be aware that recently Microsoft changed the Authentication Method when it comes to using third party email clients eg: Thunderbird.
I'm not sure whether you have already done the following but please check anyway.
Account Settings must use the following: Server Type: POP Mail Server
- Server Name: outlook.office365.com
- Port 995
- User Name: xxxx@hotmail.com
- Connection Security: SSL/LTS
- Authentication Method: OAuth2
Server Type: IMAP Mail Server
- Server Name: outlook.office365.com
- Port 993
- User Name: xxxx@hotmail.com
- Connection Security: SSL/LTS
- Authentication Method: OAuth2
SMTP:
- Server Name: smtp.office365.com
- Port: 587
- Connection Security: STARTTLS
- Authentication method: OAuth2
- User Name: example@hotmail.com
In Thunderbird Settings > Privacy & Security Check under Web Content -
- Select: 'Accept cookies from sites'
- Accept third party cookies' 'Always'
- Click on 'Exceptions' button next to Accept cookies from sites to make sure you are not blocking cookies from Microsoft sites, such as :hotmail.com, outlook.com, office365.com, www.live.com, www.msn.com
If Thunderbird stored your hotmail password then it may be located here: Settings > Privacy & Security
- Scroll down to 'Passwords' section
- click on 'Saved Passwords'
- Click on 'Show Passwords'
If you get a 'Windows security' prompt for a password.... When you start computer, you get asked to login to your User Account using a password to see desktop etc. It wants that password.
Then you can see the stored passwords.
Logon to outlook account via abrowser. Your microsoft account and your outlook /hotmail / live/ msn account need to all have the same password. Info at this link says:
Can't sign in to Hotmail or Outlook.com? Notes: Your Hotmail or Outlook.com password is the same as your Microsoft Account password.
So get all the microsoft accounts /email addresses using the same password.
In microsoft account - what is set up as the 'primary' email address ? You can choose what is set up as 'primary' Whilst you can download emails from various email addresses... If you have more email addresses or alias hotmail addresses etc When it comes to 'sending' - smtp in Thunderbird - it can only send using the 'primary' email address, so if you want to send using eg: hotmail email address then make sure it is set up as the primary email address.
Once you have all these settings and got the password sorted.
Restart Thunderbird When you get the Microsoft pop up window asking for password, type it in and clickon 'Sign in'. You may then get another window asking to allow Thunderbird access to server - click on 'Accept'
It is also possible you cannot send because you have not got the SMTP set to allow oauth smtp
How to check for that specific issue: In Thunderbird
- Tools > Developer Tools > select 'Error console'
- click on the bin icon top left to clear contents.
Attempt to send: In that error console - if information now says something like this: mailnews.smtp: Command failed: 535 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information.
The link mentioned in error console : https://aka.ms/smtp_auth_disabled That link goes to this location - I specifically include the info on 'enable smtp':
The user on that occasion followed the instructions and discovered they were not enabled for SMTP. After switching it on - all now works. So I managed to help them sort out their issue.