Skip to content

Commit afc71aa

Browse files
committed
Merge branch 'zj/send-email-authen-sasl'
* zj/send-email-authen-sasl: send-email: auth plain/login fix
2 parents a604572 + ccdbdc7 commit afc71aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

git-send-email.perl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,12 @@ sub send_message {
10981098
}
10991099

11001100
if (defined $smtp_authuser) {
1101+
# Workaround AUTH PLAIN/LOGIN interaction defect
1102+
# with Authen::SASL::Cyrus
1103+
eval {
1104+
require Authen::SASL;
1105+
Authen::SASL->import(qw(Perl));
1106+
};
11011107

11021108
if (!defined $smtp_authpass) {
11031109

0 commit comments

Comments
 (0)