You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the cert on port 25 does NOT match "mail.company.com" but i am using the -SkipCertificateValidatation switch....this is what i get:
WARNING: Send-EmailMessage - Error: Exception calling "Connect" with "3" argument(s): "An error occurred while attempting to establish an SSL or TLS connection.
The host name did not match the name given in the server's SSL certificate.
"
WARNING: Send-EmailMessage - Possible issue: Port? (25 was used), Using SSL? (Auto was used). You can also try SkipCertificateValidation or SkipCertificateRevocation.
Status : False
Error : Exception calling "Connect" with "3" argument(s): "An error occurred while attempting to establish an SSL or TLS connection.
The host name did not match the name given in the server's SSL certificate.
"
SentTo : [email protected]
SentFrom : [email protected]
Message :
TimeToExecute : 00:00:00.0235829
Server : mail.company.com
Port : 25
so, why is this happening? Am I doing something wrong?
thanks
The text was updated successfully, but these errors were encountered:
It's the same place that also checks the [Net.ServicePointManager]::ServerCertificateValidationCallback so both should work. Maybe pwsh class inheritance is causing problems with the type where property isn't set but that's a stretch. I don't have a mail server to test it out currently sorry so up to you if you wish to revert or investigate why the property doesn't work.
hi, i am executing this command:
the cert on port 25 does NOT match "mail.company.com" but i am using the -SkipCertificateValidatation switch....this is what i get:
so, why is this happening? Am I doing something wrong?
thanks
The text was updated successfully, but these errors were encountered: