msysgit / git

msysGit-based Git for Windows 1.x is now superseded by Git for Windows 2.x
http://github.com/git-for-windows/git
Other
1.01k stars 317 forks source link

Trying to use git send-email --smtp-encryption=ssl, getting a missing SSL.pm error #271

Closed gkodinov closed 9 years ago

gkodinov commented 10 years ago

Hello,

I'm trying to use git on windows to send email to an SSL enabled SMTP server. I'm doing (in git bash) : $ git send-email --smtp-server= --smtp-encryption=ssl --smtp-user= --smtp-debug=1 --envelope-sender= --to= --compose

And I'm getting: Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: /lib /usr/lib/perl5/5.8.8/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at C:\Program Files (x86)\Git/libexec/git-core\git-send-email line 1217, line 1.

How do I add SSL.pm ? Is this something I can actually do ?

kusma commented 10 years ago

We don't have Net/SMTP/SSL in our Perl distribution, so the current work-around is to use MSMTP .

We're currently transitioning our development environment to use msys-get, and it might be that move fixes the lack of Net/SMTP/SSL, but I haven't checked.

dscho commented 9 years ago

@gkodinov Git for Windows 2.x ships with Net/SMTP/SSL.pm. Would you please test with the new version that supersedes Git for Windows 1.x?

gkodinov commented 9 years ago

Yep, I can confirm it works now.