Open tonyguadagno opened 6 months ago
It was also reported in:
Seems this PR:
Broke it. @jborean93 do you think I should revert back?
I'm unsure why it wouldn't work, it looks like v3.2.0 is the version of MailKit that is used and the code that calls this callback is
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