From: Wu Zhenyu <wuzhenyu@ustc.edu>
To: git@vger.kernel.org
Subject: Can git send-email support neomutt?
Date: Sat, 5 Nov 2022 23:46:00 +0800 [thread overview]
Message-ID: <20221105154600.hbrqs74inmvpebie@desktop> (raw)
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 reply other threads:[~2022-11-05 15:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-05 15:46 Wu Zhenyu [this message]
2022-11-05 18:10 ` Can git send-email support neomutt? brian m. carlson
2022-11-06 9:02 ` Wu Zhenyu
[not found] ` <20221106085820.m53mwajd5yfsyri4@desktop>
2022-11-06 9:14 ` brian m. carlson
2022-11-06 10:17 ` Wu Zhenyu
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=20221105154600.hbrqs74inmvpebie@desktop \
--to=wuzhenyu@ustc.edu \
--cc=git@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).