Re: gmail smtp server and git-send-mail. Is this combination working?
From: Baz <hidden>
Date: 2016-06-15 22:44:04
On Jan 10, 2008 10:49 PM, Paolo Ciarrocchi [off-list ref] wrote:
On Jan 10, 2008 4:45 AM, Douglas Stockwell [off-list ref] wrote:quoted
Paolo Ciarrocchi wrote:quoted
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:As indicated, the module you need is Net::SMTP::SSL, if there is no package for ubuntu, you can install it using CPAN: perl -MCPAN -e 'install Net::SMTP::SSL'I'm now getting: Unable to initialize SMTP properly. Is there something wrong with your config? at /home/paolo/bin/git-send-email line 638.
You also need to have Authen::SASL installed. Do you have that? As I recall I needed to edit the code to even see that error. With Authen::SASL and Net::SMTP::SSL, you can get 1 patch at a time in via gmail. The alternative connection mode which git-send-email doesn't support yet is to connect over smtp then negotiate TLS using 'STARTTLS'. If you do this then you can send multiple patches via gmail with a single call to git-send-email. There was a patch offered a while back from Simon Sasburg to add starttls support to git-send-email. At the time I questioned it but I hadn't seen the 1-patch-at-a-time limit then. Thread: http://kerneltrap.org/mailarchive/git/2007/10/31/373400 (nb the key thing added by this patch is starttls, not tls)
I tried to get help on #git but I failed, it looks like other people are getting the same error.
Hope this helps, Baz
Ciao, -- Paolo http://paolo.ciarrocchi.googlepages.com/ - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html