Hi All, I was wondering if any can help.
I am trying to send email notifications however they are not coming through.
We are not reeiving the notifications from our Veeam Backup and Scan to emails from printer.
I have also tried testing via PowerShell script which does not work;
function sendMail{
Write-Host "Sending Email"
#SMTP server name
$smtpServer = "Exchange Server IP Address"
#Creating a Mail object
$msg = new-object Net.Mail.MailMessage
#Creating SMTP server object
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
#Email structure
$msg.From = "Test@domain.com"
$msg.To.Add("waqas@domain.com")
$msg.subject = "Alert"
$msg.body =
#Sending email
$smtp.Send($msg)
}
#Calling function
sendMail
Direct emails are oming through fine, just not the notifications. I have tried rebooting the server to no avail and restarted the MS Information service.
Thanks