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::SASLmaint
commit
b2102627d7
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue