Thread (14 messages) flat view 14 messages, 6 authors, 2016-06-15

Re: gmail smtp server and git-send-mail. Is this combination working?

From: Paolo Ciarrocchi <hidden>
Date: 2016-06-15 22:44:04

On Jan 9, 2008 5:06 AM, Douglas Stockwell [off-list ref] wrote:
Paolo Ciarrocchi wrote:
quoted
" Mailing off a set of patches to a mailing list can be quite neatly
done by git-send-email.
One of the problems you may encounter there is figuring out which machine
is going to send your mail.
I tried smtp.gmail.com, but that one requires tls and a password,
and git-send-email could not handle that "

From http://git.or.cz/gitwiki/GitTips.

Is this statemant still correct ?
Is msmtp the only solution for using git-send-mail with gmail? (tls +
autentication).
No, as of 34cc60ce2b48f6037997543ddbab1ed9903df4a8 you can use SSL and
SMTP-Auth.

[sendemail]
         smtpserver = smtp.gmail.com
         smtpuser = <user>@gmail.com
         smtppass = <password>
         smtpssl = true

Can you suggest changes to the documentation if these options are unclear?
Well, it would be nice to add this information to the wiki, it's still
mentioning
that you require an external program for supporting the TLS connection.
I'll do that when I'll get my box working with the configuration you suggested,

What I'm getting at the moment is:
paolo@paolo-desktop:~/git$ git-send-email -compose -to
paolo.ciarrocchi@gmail.com /home/paolo/Desktop/patch/
snip
snip
Can't locate Net/SMTP/SSL.pm in @INC (@INC contains:
/home/paolo/share/perl/5.8.8 /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
/home/paolo/bin/git-send-email line 627.

Tv on #git helped me in finding an Ubuntu package which includes SSL.pm :
http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=SSL.pm&searchmode=searchfiles&case=insensitive&version=gutsy&arch=i386
which repors:
usr/lib/perl5/Net/SSL.pm				    perl/libcrypt-ssleay-perl [universe]
usr/share/perl5/HTTP/Daemon/SSL.pm			    perl/libhttp-daemon-ssl-perl [universe]
usr/share/perl5/IO/Socket/SSL.pm			    perl/libio-socket-ssl-perl
usr/share/perl5/Net/IMAP/Simple/SSL.pm			
perl/libnet-imap-simple-ssl-perl [universe]
usr/share/perl5/Net/Server/Proto/SSL.pm			    perl/libnet-server-perl [universe]
usr/share/perl5/POE/Component/Client/HTTP/SSL.pm	
perl/libpoe-component-client-http-perl [universe]

I installed libcrypt-ssleay-perl but still no luck.

Regards,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help