Skip to content

Commit

Permalink
Merge branch 'md/smtp-tls-hello-again' into maint
Browse files Browse the repository at this point in the history
* md/smtp-tls-hello-again:
  send-email: Honour SMTP domain when using TLS
  • Loading branch information
Junio C Hamano committed Nov 1, 2011
2 parents 0814d6e + 155b940 commit ac7acaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,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;
}
Expand Down

0 comments on commit ac7acaa

Please sign in to comment.