when trying to send mail using email_send_message(). A few simple changes to EmailServerCredentials to support an optional context parameter would do the trick. Since I need this, I volunteer to make the changes, provide a PR etc. I'm sure support for a custom sslcontext might be needed by someone else at some point...
I am trying to use my personal mail server but it has a self-signed certificate. So I am getting
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1131)
when trying to send mail using email_send_message(). A few simple changes to EmailServerCredentials to support an optional context parameter would do the trick. Since I need this, I volunteer to make the changes, provide a PR etc. I'm sure support for a custom sslcontext might be needed by someone else at some point...