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