Merge branch 'ag/send-email-sasl-with-host-port' into jch

* ag/send-email-sasl-with-host-port:
  send-email: pass smtp hostname and port to Authen::SASL
This commit is contained in:
Junio C Hamano
2026-03-05 13:50:02 -08:00

View File

@@ -1500,6 +1500,8 @@ sub smtp_auth_maybe {
user => $cred->{'username'},
pass => $cred->{'password'},
authname => $cred->{'username'},
host => $smtp_server,
(defined $smtp_server_port ? (port => $smtp_server_port) : ()),
}
);
$result = $smtp->auth($sasl);