# Problems getting git-send-email to work

3 messages from 2008-05-12 to 2008-05-12. Participants: Sverre Hvammen Johansen, Sverre Rabbelier, Jakub Narebski.
Thread: https://gitlist.dev/t/13484

## Sverre Hvammen Johansen, 2008-05-12 02:01

Subject: Problems getting git-send-email to work
Message-ID: <402c10cd0805111901q2e934e44w45938ca4a85f240b@mail.gmail.com>
URL: https://gitlist.dev/e/402c10cd0805111901q2e934e44w45938ca4a85f240b%40mail.gmail.com

```
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, 2008-05-12 09:18

Subject: Re: Problems getting git-send-email to work
Message-ID: <bd6139dc0805120218m4acf370m81475526f7237084@mail.gmail.com>
URL: https://gitlist.dev/e/bd6139dc0805120218m4acf370m81475526f7237084%40mail.gmail.com
In-Reply-To: <402c10cd0805111901q2e934e44w45938ca4a85f240b@mail.gmail.com>

```
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, 2008-05-12 09:44

Subject: Re: Problems getting git-send-email to work
Message-ID: <m3lk2f5029.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3lk2f5029.fsf%40localhost.localdomain
In-Reply-To: <402c10cd0805111901q2e934e44w45938ca4a85f240b@mail.gmail.com>

```
"Sverre Hvammen Johansen" <hvammen@gmail.com> writes:

> 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

```
