Skip to content

Commit 54633cd

Browse files
committed
Merge branch 'md/smtp-tls-hello-again'
* md/smtp-tls-hello-again: send-email: Honour SMTP domain when using TLS
2 parents 2c4cf66 + 155b940 commit 54633cd

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
@@ -1098,7 +1098,7 @@ sub send_message {
10981098
$smtp_encryption = '';
10991099
# Send EHLO again to receive fresh
11001100
# supported commands
1101-
$smtp->hello();
1101+
$smtp->hello($smtp_domain);
11021102
} else {
11031103
die "Server does not support STARTTLS! ".$smtp->message;
11041104
}

0 commit comments

Comments
 (0)