This article was born from the difficulties encountered in setting up a Microsoft Office 365 mail account on the Gmail mail client on a smartphone. But
Reading Office 365 in Gmail is not recommended.
In the Gmail add account screen, the most obvious attempt is to add the account using “Exchange and Office 365”.
You will see the mailbox added correctly and working but we have encountered problems: in some accounts on Gmail you do not see all the mail folders in the mailbox.
Solution
The solution is to perform an installation in imap.
Install the account using “Other”:
Once you have entered your email account, the “Manual Configuration” button appears.
Push it. The procedure will ask you in sequence:
password
address of the mail arrival server: outlook.office365.com
address of the mail receiving server: smtp.office365.com
The procedure does not require the specification of ports. For the sake of completeness, we recall all the parameters of the Microsoft Office 365 imap and smtp.
IMAP settings – Server name: outlook.office365.com – Port: 993 – Encryption method: SSL
SMTP settings – Server name: smtp.office365.com – Port: 587 – Encryption method: TLS or STARTTLS
Important
By doing this you deactivate the synchronization of address book, calendar and email. To solve it, simply go to the Outlook app, in the account and reactivate the synchronization.
But remember that the best thing for Office365 is to use the Outlook app on smartphones. Reading Office 365 in Gmail is not recommended.