Merge branch 'zj/send-email-authen-sasl'

* zj/send-email-authen-sasl:
  send-email: auth plain/login fix
This commit is contained in:
Junio C Hamano 2011-10-12 12:34:03 -07:00
commit afc71aa9e6

View File

@ -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) {