git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How can I specify the "sendmail" program for git-send-email?

From
RYRichard Yang <weiyang@linux.vnet.ibm.com>
Date
Jun 11, 2012, 09:04 UTC
Message-ID
<20120611090431.GA23447@richard>
In-Reply-To
<CABPQNSbwtP0hp8QYznwXjLAaoKVj_ZUWXQQCDG80Xb+TME1MWw@mail.gmail.com>
On Mon, Jun 11, 2012 at 10:23:21AM +0200, Erik Faye-Lund wrote:
Show 22 quoted lines
>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
Previous: Erik Faye-LundNext: Erik Faye-Lund
Message 3 of 9 in “How can I specify the "sendmail" program for git-send-email?”
  1. Richard YangJun 11, 2012
  2. Erik Faye-LundJun 11, 2012
  3. Richard YangJun 11, 2012
  4. Erik Faye-LundJun 11, 2012
  5. konglu@minatec.inpg.frJun 11, 2012
  6. Erik Faye-LundJun 11, 2012
  7. konglu@minatec.inpg.frJun 11, 2012
  8. Junio C HamanoJun 11, 2012
  9. Erik Faye-LundJun 11, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.