Difference between activities to send mail

Hi all,
I need to send a mail with an office365 account, what’s the difference between the send smtp mail activities and UiPath.MicrosoftOffice365.Activities?

Because if i try to ping the smtp.office365.com via command line doesn’t establish any connection, there is possibilities to send via microsoftOffice365 activities in this situation? And which type of information i need to configure? I’ve seen i need to registering in azure, how can i do that?
Thx in advance