I'm trying to use the Send-MailMessage
commandlet in Powershell. It requires that I tell is my SMTP server settings.
I am running an Outlook 2016 desktop client that is associated with my Office 365 subscription. How do I get to know the Smtp server settings?
I tried File -> Account Settings but that doesn't show me the server url and the port number.
If your mail is hosted by Office365, then it will have the same SMTP settings...
link