All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Yang <weiyang@linux.vnet.ibm.com>
To: Erik Faye-Lund <kusmabite@gmail.com>
Cc: Richard Yang <weiyang@linux.vnet.ibm.com>, git@vger.kernel.org
Subject: Re: How can I specify the "sendmail" program for git-send-email?
Date: Mon, 11 Jun 2012 17:04:31 +0800	[thread overview]
Message-ID: <20120611090431.GA23447@richard> (raw)
In-Reply-To: <CABPQNSbwtP0hp8QYznwXjLAaoKVj_ZUWXQQCDG80Xb+TME1MWw@mail.gmail.com>

On Mon, Jun 11, 2012 at 10:23:21AM +0200, Erik Faye-Lund wrote:
>On Mon, Jun 11, 2012 at 9:32 AM, Richard Yang
><weiyang@linux.vnet.ibm.com> wrote:
>> Hi, experts
>>
>> I read the git-send-email manual and find the --smtp-server option can
>> specify the sendmail-like program to send mail.
>>
>> Then I use this option in command line
>> --smtp-server=/usr/bin/msmtp
>> This works.
>>
>> While I found it not very convenient to write the option on command line
>> every time, then I wrote it in the .gitconfig file in my home directory.
>>
>> [sendmail]
>>        smtpserver = /usr/bin/msmtp
>>        smtppass       = 123456
>>        smtpuser       = weiyang@linux.vnet.ibm.com
>>        smtpserverport = 143
>
>The configuration-section for git send-mail is actually spelled
>"sendemail", and not "sendmail". Notice the additional 'e'.
Oops, a stupid mistake.

Thanks all :)
>
>http://git-scm.com/docs/git-send-email

-- 
Richard Yang
Help you, Help me

  reply	other threads:[~2012-06-11  9:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11  7:32 How can I specify the "sendmail" program for git-send-email? Richard Yang
2012-06-11  8:23 ` Erik Faye-Lund
2012-06-11  9:04   ` Richard Yang [this message]
2012-06-11  9:15     ` Erik Faye-Lund
2012-06-11  9:25       ` konglu
2012-06-11  9:45         ` Erik Faye-Lund
2012-06-11 10:13           ` konglu
2012-06-11 15:57       ` Junio C Hamano
2012-06-11 16:25         ` Erik Faye-Lund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120611090431.GA23447@richard \
    --to=weiyang@linux.vnet.ibm.com \
    --cc=git@vger.kernel.org \
    --cc=kusmabite@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.