Code

Merge branch 'md/smtp-tls-hello-again'
authorJunio C Hamano <gitster@pobox.com>
Wed, 19 Oct 2011 04:59:10 +0000 (21:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Oct 2011 04:59:10 +0000 (21:59 -0700)
* md/smtp-tls-hello-again:
  send-email: Honour SMTP domain when using TLS

git-send-email.perl

index 6885dfa1b9b4448a2a75583abcc25ff14a887044..d491db92c9379cf0eea63182dd704feb6582b6e7 100755 (executable)
@@ -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;
                                }