Browse Source

Merge branch 'md/smtp-tls-hello-again'

* md/smtp-tls-hello-again:
  send-email: Honour SMTP domain when using TLS
maint
Junio C Hamano 13 years ago
parent
commit
54633cd53b
  1. 2
      git-send-email.perl

2
git-send-email.perl

@ -1098,7 +1098,7 @@ X-Mailer: git-send-email $gitversion @@ -1098,7 +1098,7 @@ X-Mailer: git-send-email $gitversion
$smtp_encryption = '';
# Send EHLO again to receive fresh
# supported commands
$smtp->hello();
$smtp->hello($smtp_domain);
} else {
die "Server does not support STARTTLS! ".$smtp->message;
}

Loading…
Cancel
Save