Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git send-email requires Net/SMTP/SSL.pm #33

Closed
GoogleCodeExporter opened this issue Apr 7, 2016 · 2 comments
Closed

Git send-email requires Net/SMTP/SSL.pm #33

GoogleCodeExporter opened this issue Apr 7, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Configure 'git send-email' to use SMTP over SSL:

$ git config --global sendemail.smtpserver smtp.gmail.com
$ git config --global sendemail.smtpserverport 587
$ git config --global sendemail.smtpuser user@gmail.com
$ git config --global sendemail.smtpencryption tls

2. After making some commits, attempt to email a patch:

$ git send-email origin 

What is the expected output? What do you see instead?

After prompting for parameters and answering yes to the "Send this email?" 
prompt, the following error is 
displayed instead of sending an email:

Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: 
/usr/local/git/lib/perl5/site_perl/5.8.8/darwin-
thread-multi-2level /usr/local/git/lib/perl5/site_perl/5.8.8 
/usr/local/git/lib/perl5/site_perl 
/Library/Perl/Updates/5.8.8 
/System/Library/Perl/5.8.8/darwin-thread-multi-2level 
/System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level 
/Library/Perl/5.8.8 /Library/Perl 
/Network/Library/Perl/5.8.8/darwin-thread-multi-2level 
/Network/Library/Perl/5.8.8 /Network/Library/Perl 
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level 
/System/Library/Perl/Extras/5.8.8 
/Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at 
/usr/local/git/libexec/git-core/git-send-email line 903, <FIN> 
line 4.

What version of the product are you using? On what operating system?

$ git --version
git version 1.6.3.1

$ system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: Mac OS X 10.5.7 (9J61)
      Kernel Version: Darwin 9.7.0
      Boot Volume: MacintoshHD
      Boot Mode: Normal
      Time since boot: 6 days 4:55

Original issue reported on code.google.com by tre...@tjohns.net on 21 Jul 2009 at 10:04

@GoogleCodeExporter
Copy link
Author

You know, I've been using msmtp to send mail with git.  I'm not sure if it 
should be the git installer's 
responsibility to distribute the perl SSL packages.

Original comment by timchar...@gmail.com on 17 Sep 2009 at 7:30

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

Hmm, this seems to be the same problem as: 
http://code.google.com/p/msysgit/issues/detail?id=310

As such, and since evidently the accepted solution in both cases is to use 
msmtp, the wiki page linked there might be helpful (despite a few Windows 
assumptions): 
https://git.wiki.kernel.org/articles/u/s/i/MSysGit~UsingSendEmail_d09b.html

If git-send-email(1) would mention msmtp, that would probably help users of 
both systems...

Original comment by naesten on 27 Nov 2011 at 7:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant