This could be useful where you need to schedule some report and the SMTP relay is not yet available
Sending email using your own mailbox
this method can also be used to send email from other messaging provider like Gmail etc.
Well sending email using PowerShell is pretty straight forward.
this method require you to authenticate with service provider we will use the SSL method to send the secure email here.
"$from" array will always be your mailbox primary Smtp, this mailbox will be auth in cloud service.