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

Can git send-email support neomutt?

From
Wu Zhenyu <wuzhenyu@ustc.edu>
Date
Nov 5, 2022, 15:46 UTC
Message-ID
<20221105154600.hbrqs74inmvpebie@desktop>
Excuse me.
I want to use neomutt as git send-email's cmd:
```
[sendemail]
	sendmailCmd = neomutt
```
However, I notice

``` my @sendmail_parameters = ('-i', @recipients); ... exec ("sh", "-c", "$sendmail_cmd \"\$@\"", "-", @sendmail_parameters) ```

It call `neomutt -i to@email from@email`, which is an incorrect cmd for neomutt.
Can we customize sendmail-cmd more flexible? Like
```
[sendemail]
	sendmailCmd = neomutt %{to}
```
call `neomutt to@email.com`.
Thanks!
-- 
Best Regards
Wu Zhenyu
Next: brian m. carlson
Message 1 of 5 in “Can git send-email support neomutt?”
  1. Wu ZhenyuNov 5, 2022
  2. brian m. carlsonNov 5, 2022
  3. Wu ZhenyuNov 6, 2022
  4. brian m. carlsonNov 6, 2022
  5. Wu ZhenyuNov 6, 2022

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.