threads / discuss / 13484

Problems getting git-send-email to work

Subject: Problems getting git-send-email to work

## tl;dr

3 messages between May 12, 2008 and May 12, 2008.

replies: 2people: 3as markdown or json

Sverre Hvammen Johansen· May 12, 2008, 02:01 UTC · lore
I am having trouble getting git send-email to work:

[sj@black patches]$ git send-email --smtp-server=smtp.gmail.com --smtp-user=hvammen@gmail.com --smtp-ssl --to=hvammen@gmail.com 0001-Documentation-for-joining-more-than-two-histories.patch 0001-Documentation-for-joining-more-than-two-histories.patch Who should the emails appear to be from? [Sverre Hvammen Johansen <hvammen@gmail.com>] Emails will be sent from: Sverre Hvammen Johansen <hvammen@gmail.com> Message-ID to be used as In-Reply-To for the first email? (mbox) Adding cc: Sverre Hvammen Johansen <hvammen@gmail.com> from line 'From: Sverre Hvammen Johansen <hvammen@gmail.com>' (sob) Adding cc: Sverre Hvammen Johansen <hvammen@gmail.com> from line 'Signed-off-by: Sverre Hvammen Johansen <hvammen@gmail.com>' Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/bin/git-send-email line 713. [sj@black patches]$

I am using Fedora 7, and have installed git from source (git version 1.5.5.54.gc6550, a few private patches that should not be related to this problem). Can anyone help me locate the RPM that include Net/SMTP/SSL.pm?

Without --smtp-ssl I am getting this after I have typed in my password:

Command unknown: 'AUTH' at /usr/local/bin/git-send-email line 744, <STDIN> line 1.

-- 
Sverre Hvammen Johansen
Sverre Rabbelier· May 12, 2008, 09:18 UTC · re: Sverre Hvammen Johansen · lore

Re: Problems getting git-send-email to work

On Mon, May 12, 2008 at 4:01 AM, Sverre Hvammen Johansen <hvammen@gmail.com> wrote:

> I am having trouble getting git send-email to work:
>
> [sj@black patches]$ git send-email --smtp-server=smtp.gmail.com
> --smtp-user=hvammen@gmail.com --smtp-ssl --to=hvammen@gmail.com
<snip>
> Command unknown: 'AUTH' at /usr/local/bin/git-send-email line 744,
> <STDIN> line 1.
Heya,

I get the exact same error when I try to send an e-mail like that through git-send-email. I resolved to sending the mail through my ISP without supplying a username/password. That is, all I did was configure: sendemail.smtpserver=smtp.myisp.nl If you find a solution to this I'm interested in hearing how you solved it :).

-- 
Cheers,

Sverre Rabbelier
Jakub Narebski· May 12, 2008, 09:44 UTC · re: Sverre Hvammen Johansen · lore

Re: Problems getting git-send-email to work

"Sverre Hvammen Johansen" <hvammen@gmail.com> writes:
Show 6 quoted lines
> I am having trouble getting git send-email to work:
> 
> [sj@black patches]$ git send-email --smtp-server=smtp.gmail.com
> --smtp-user=hvammen@gmail.com --smtp-ssl --to=hvammen@gmail.com
> 0001-Documentation-for-joining-more-than-two-histories.patch
> 0001-Documentation-for-joining-more-than-two-histories.patch
[...]
> Can't locate Net/SMTP/SSL.pm in @INC
[...]
> I am using Fedora 7, and have installed git from source (git version
> 1.5.5.54.gc6550, a few private patches that should not be related to
> this problem).  Can anyone help me locate the RPM that include
> Net/SMTP/SSL.pm?
Probably perl-Net-SMTP-SSL, or perl-Net-SMTP
> Without --smtp-ssl I am getting this after I have typed in my password:
> 
> Command unknown: 'AUTH' at /usr/local/bin/git-send-email line 744,
> <STDIN> line 1.

Alternate solution would be (if it is your private box) to configure your MTA, be it sendmail, qmail, postfix or mSMTP / sSMTP. If it is not your provate box, chancce is that somebody configured MTA, and can simply use git-send-mail without providing --smtp-* options.

-- 
Jakub Narebski
Poland
ShadeHawk on #git

← back to recent threads