Exception calling “Send” with “1” argument(s): “Failure sending mail.”
At line:19 char:15
-
$smtp.send <<<< ($message);
-
CategoryInfo : NotSpecified: ( , MethodInvocationException
-
FullyQualifiedErrorId : DotNetMethodException
Exception calling “Send” with “1” argument(s): “Failure sending mail.”
At line:19 char:15
$smtp.send <<<< ($message);
CategoryInfo : NotSpecified: ( , MethodInvocationException
FullyQualifiedErrorId : DotNetMethodException
Sorry, that’s really a question you’d want to take to SendGrid. It’s not a PowerShell problem per se.