Test Office365 Email

  • $cred = get-credential
  • Send-MailMessage -From your_email_address -To rcpt_email_address -Subject "Test Email" -Body "Test SMTP Service from Powershell on Port 587" -SmtpServer smtp.office365.com -Credential $creds -UseSsl -Port 587


Watch Video Tutorial


Was this article helpful?