revert: rename --reset option to --quit
[gitweb.git] / git-send-email.perl
index 6885dfa1b9b4448a2a75583abcc25ff14a887044..d491db92c9379cf0eea63182dd704feb6582b6e7 100755 (executable)
@@ -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;
                                }