Using 'git send-mail', but I am getting an error

I am trying to use git send-mail, but I am getting this error:

Can’t locate Net/SMTP/SSL.pm in @INC (@INC contains:
/Library/Developer/CommandLineTools/usr/../Library/Perl/5.16/darwin-thread-multi-2level

/Library/Developer/CommandLineTools/usr/share/git-core/perl
/Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16
/Network/Library/Perl/5.16/darwin-thread-multi-2level
/Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2
/System/Library/Perl/5.16/darwin-thread-multi-2level
/System/Library/Perl/5.16
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.16 .) at
/Library/Developer/CommandLineTools/usr/libexec/git-core/git-send-email
line 1232.

I use Mac OS X v10.9 (Mavericks) recently upgraded from Mac OS X v10.7 (Lion)!!!

  • How to debug “git send-email” failed issue?
  • how to add colour diff in git send-email
  • can git send-email send diff patch of html format?
  • git send-email died of signal 11
  • Overriding a Git-Send-Email to-cmd option
  • Have cron email me only on actual Git errors
  • Unable to use git send-email to send source code and patches
  • One Solution collect form web for “Using 'git send-mail', but I am getting an error”

    You need to install SSL.

    Use cpanminus for working with CPAN modules. You can install it with Homebrew using brew install cpanminus.

    After installing cpanminus, try this:

    sudo cpanm Net::SMTP::SSL
    
    Git Baby is a git and github fan, let's start git clone.