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

Question - no space in smtp-server-option

From
Chris Coutinho <chrisbcoutinho@gmail.com>
Date
Sep 17, 2018, 01:02 UTC
Message-ID
<20180917010244.btmlczam5m75rmto@tumbleweed>
Hello Git community,

To send a formatted git patch as an email using git I use `git send-email`. Using another email address than my default one requires the 'smtp-server-option' to be set, and currently this flag doesn't care much for spaces. Is this desired?

Currently my gitconfig contains the following line:
	sendemail.smtpserveroption=-a<myaccount>
Whereas, the following results in an 'account' not found error:
	sendemail.smtpserveroption=-a <myaccount>

Further, the full account flag (--account) is not recognized by `send-email`. Could someone expand a bit on the reasoning behind this?

Regards, Chris

Next: Jonathan Nieder
Message 1 of 6 in “Question - no space in smtp-server-option”
  1. Chris CoutinhoSep 17, 2018
  2. Jonathan NiederSep 17, 2018
  3. Chris CoutinhoSep 17, 2018
  4. Jonathan NiederSep 17, 2018
  5. Chris CoutinhoSep 17, 2018
  6. Chris CoutinhoSep 17, 2018

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.