The error is simply saying that whatever certificate the mail system is presenting could not be validated. There are several options:
- Specify that the connection should not be encrypted, you'd probably need to change the port number you're connection to
- Correct the certificate so that it can be validated
- Tell powershell to ignore SSL validation, I know this works for WebClient (HTTPS requests), I would imagine that it should also work for Mail connections.
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} ;
------------------------------
Matthew Arp
Business Systems Developer
Hunton Group
Houston TX
------------------------------
Original Message:
Sent: 09-07-2017 03:08 PM
From: Josue Rivera
Subject: Server Admin Mail
We are having issues with our Server Admin Mail. Below is an image of the result of a PowerShell test command that failed.
Can someone help me?

------------------------------
Josue Rivera
System Administrator
Ti-SALES, Inc.
Sudbury MA
------------------------------