diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-03-12 10:56:04 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-12 10:56:04 -0700 |
| commit | b2102627d7baf993dd128d33e77139ab7929fbef (patch) | |
| tree | 52e9e7a0ccb63d925253203fd7c468a3e504a641 | |
| parent | 0724f727ee24495c2d27738297d3d68c8393fa28 (diff) | |
| parent | b10fb23d52425644b8c3bb9b7277cb3328a73c16 (diff) | |
| download | git-b2102627d7baf993dd128d33e77139ab7929fbef.tar.xz | |
Merge branch 'ag/send-email-sasl-with-host-port'
"git send-email" learns to pass hostname/port to Authen::SASL
module.
* ag/send-email-sasl-with-host-port:
send-email: pass smtp hostname and port to Authen::SASL
| -rwxr-xr-x | git-send-email.perl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index cd4b316ddc..350afa3e71 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -1474,6 +1474,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); |
