Merge branch 'zj/send-email-authen-sasl'
* zj/send-email-authen-sasl: send-email: auth plain/login fix
This commit is contained in:
commit
afc71aa9e6
@ -1098,6 +1098,12 @@ X-Mailer: git-send-email $gitversion
|
||||
}
|
||||
|
||||
if (defined $smtp_authuser) {
|
||||
# Workaround AUTH PLAIN/LOGIN interaction defect
|
||||
# with Authen::SASL::Cyrus
|
||||
eval {
|
||||
require Authen::SASL;
|
||||
Authen::SASL->import(qw(Perl));
|
||||
};
|
||||
|
||||
if (!defined $smtp_authpass) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user