Testing SMTP Relay with PowerShell

When setting up an SMTP…

Login

Blog History

When setting up an SMTP relay on Windows this Powershell command can help

Send-MailMessage -SmtpServer 10.77.23.20 -Port 25 `
-From [email protected] `
-To [email protected],[email protected] `
-Subject "Remittance Advice Test# 5" `
-Body "Test at 9:08 AM 29/08/2024"

# this is a multi-line command powershell uses the back tick (e.g. ` )  to for that

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.