serilog / serilog-sinks-email

A Serilog sink that writes events to SMTP email
Apache License 2.0
70 stars 68 forks source link

Skip certificate revocation check #79

Closed jamesminchin closed 6 months ago

jamesminchin commented 4 years ago

I have an application that has no direct internet access. When the email sink sends an email the application hangs for 2 minutes while MailKit attempts to check whether certificates have been revoked.

MailKit has a CheckCertificateRevocation property which will skip the check. Is there a way to specify this for the email sink, or any workaround?

nblumhardt commented 6 months ago

Closing as stale; recent sink versions support this through EmailConnectionInfo. HTH!