Test Exchange SMTP Relaying Using Powershell
Jump to navigation
Jump to search
Open Powershell and run the following (remember to switch out the To, From, and SmtpServer with legitimate addresses):
Send-MailMessage -To whoever@address.com -From user@exchangeserveruser.com -Subject test -Body test -SmtpServer mail.exchangeserveruser.com