If you want to do SMTP authentication in office 365 then you can enter below details.
You need to enter the following values in your application settings for SMTP.
Server/Smart Host: smtp.office365.com
Port: 587
TLS/Start TLS: Enabled
Username/Email address and password: Enter the sign-in credentials of the mailbox over at your Office 365 Account
You need to enter the following values in your application settings for SMTP.
Server/Smart Host: smtp.office365.com
Port: 587
TLS/Start TLS: Enabled
Username/Email address and password: Enter the sign-in credentials of the mailbox over at your Office 365 Account