On 2018/11/18 18:02, Klemens Nanni wrote: > CC'ing the maintainer. > > On Sun, Nov 18, 2018 at 05:57:29PM +0100, Paco Esteban wrote: > > I was trying to send a patch using 'git send-email'. Right after I > > supply password for my email account I get this: > > > > Need MIME::Base64 and Authen::SASL todo auth at > > /usr/local/libexec/git/git-send-email line 1520. > I'm surprised this hasn't come up earlier. > > > MIME::Base64 is part of the Perl core modules, but Authen::SASL is not. > > So maybe this (silly) diff could be useful ... don't know. > Thanks for your report and diff. > > OK with me after bumping REVISION. If noone objects or commits it, I'll > do so next week. >
Really this is an (optional) dependency of Net::SMTP, which is in base ... 163 sub auth { 164 my ($self, $username, $password) = @_; 165 166 eval { 167 require MIME::Base64; 168 require Authen::SASL; 169 } or $self->set_status(500, ["Need MIME::Base64 and Authen::SASL todo auth"]), return 0;