Hello,
I am playing around with Azure Automation Runbooks. We have several PowerShell scripts that run on a server that I want to move into Azure. I have been able to transfer the scripts across. But I can not get the Powershell
Send-MailMessage to work.
I have tried the following
Send-MailMessage -To "servers@test.com.au" -From"donotreply@test.com.au"
-Subject "test-1-2-3-4" -smtpserver
10.255.193.61
Instead of IP address i did try FQDN but it didnt like that.
After I run this command it says it was successful . But no email is sent.
Any ideas ?