Re: How can I specify the "sendmail" program for git-send-email?
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Jun 11, 2012, 08:23 UTC
- Message-ID
- <CABPQNSbwtP0hp8QYznwXjLAaoKVj_ZUWXQQCDG80Xb+TME1MWw@mail.gmail.com>
- In-Reply-To
- <20120611073232.GA5602@richard>
On Mon, Jun 11, 2012 at 9:32 AM, Richard Yang <weiyang@linux.vnet.ibm.com> wrote:
Show 17 quoted lines
> 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'.
http://git-scm.com/docs/git-send-email