Skip to content

Commit ac7acaa

Browse files
committed
Merge branch 'md/smtp-tls-hello-again' into maint
* md/smtp-tls-hello-again: send-email: Honour SMTP domain when using TLS
2 parents 0814d6e + 155b940 commit ac7acaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-send-email.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ sub send_message {
10791079
$smtp_encryption = '';
10801080
# Send EHLO again to receive fresh
10811081
# supported commands
1082-
$smtp->hello();
1082+
$smtp->hello($smtp_domain);
10831083
} else {
10841084
die "Server does not support STARTTLS! ".$smtp->message;
10851085
}

0 commit comments

Comments
 (0)