what is the diffrence between outlook.office365.com and smtp.office365.com while send email using smtpclient in C#

Earlier our client was used outlook.office365.com to connect SMTP client and authenticate its working fine now everywhere, but our organization's network firewall not allowed outlook.office365.com so it's not working on MY LOCAL machine, our network team told me you can use smtp.office365.com instead of outlook.office365.com, it's working MY LOCAL And Development environment.

but, I am still confused and to why use smtp.office365.com instead of outlook.office365.com and what is the main difference between both of them?

SmtpClient client = new MailKit.Net.Smtp.SmtpClient();
client.Connect("smtp.office365.com", 587, false);

1 answer

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum