From e5afb3a6f96e4d3a8733fbeee2c3cb44829e386b Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sun, 14 Mar 2010 17:15:33 +0200 Subject: [PATCH] git-send-email.perl: improve error message in send_message() Signed-off-by: Jari Aalto Signed-off-by: Junio C Hamano --- git-send-email.perl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git-send-email.perl b/git-send-email.perl index e05455f74..221506c3e 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -957,7 +957,10 @@ X-Mailer: git-send-email $gitversion } if (!$smtp) { - die "Unable to initialize SMTP properly. Is there something wrong with your config?"; + die "Unable to initialize SMTP properly. Check config. ", + "VALUES: server=$smtp_server ", + "encryption=$smtp_encryption ", + defined $smtp_server_port ? "port=$smtp_server_port" : ""; } if (defined $smtp_authuser) { -- 2.30.2