ASP.Net Core Site Stops Sending Emails Citing Mysterious SSL Issue
PostAlmostAnything
1
Reputation point
What might suddenly make it impossible for a .Net 5 website to stop sending email citing the following:
An unhandled exception occurred while processing the request.
InvalidOperationException: An error occurred while attempting to establish an SSL or TLS connection.
The server's SSL certificate could not be validated for the following reasons:
• The server certificate has the following errors:
• A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
MySite.Pages.contact.IndexModel.SendEmailAdmin(string name, string email, string subject, string message) in Index.cshtml.cs, line 143