Commit 7aaff08f authored by Junio C Hamano's avatar Junio C Hamano

Merge branch 'jk/send-email-ssl-errors'

Improve error reporting when SMTP TLS fails.

* jk/send-email-ssl-errors:
  send-email: enable SSL level 1 debug output
parents d78cba4b 9d605249
......@@ -1332,6 +1332,13 @@ sub send_message {
require Net::SMTP::SSL;
$smtp_domain ||= maildomain();
require IO::Socket::SSL;
# Suppress "variable accessed once" warning.
no warnings 'once';
$IO::Socket::SSL::DEBUG = 1;
# Net::SMTP::SSL->new() does not forward any SSL options
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment