Merge branch 'md/smtp-tls-hello-again'
* md/smtp-tls-hello-again: send-email: Honour SMTP domain when using TLS
This commit is contained in:
commit
54633cd53b
@ -1098,7 +1098,7 @@ X-Mailer: git-send-email $gitversion
|
|||||||
$smtp_encryption = '';
|
$smtp_encryption = '';
|
||||||
# Send EHLO again to receive fresh
|
# Send EHLO again to receive fresh
|
||||||
# supported commands
|
# supported commands
|
||||||
$smtp->hello();
|
$smtp->hello($smtp_domain);
|
||||||
} else {
|
} else {
|
||||||
die "Server does not support STARTTLS! ".$smtp->message;
|
die "Server does not support STARTTLS! ".$smtp->message;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user