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

* md/smtp-tls-hello-again:
  send-email: Honour SMTP domain when using TLS
This commit is contained in:
Junio C Hamano 2011-10-18 21:59:10 -07:00
commit 54633cd53b

View file

@ -1098,7 +1098,7 @@ sub send_message {
$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;
}