IMAP and POP setting for Office 365 on mail sending


If you are trying to configure to send mail by code or any application through office 365 then setting of port is as below.


Office365 setting