On 2022-11-05 at 15:46:00, Wu Zhenyu wrote: > Excuse me. > > I want to use neomutt as git send-email's cmd: > > ``` > [sendemail] > sendmailCmd = neomutt > ``` Mutt and Neomutt are MUAs, which stands for mail user agent. That is, they're mail clients that people use to read, compose, and send email. The sendmailCmd wants an MTA, or mail transfer agent, which is essentially a mail server. It's customary for most Unix systems to have such a piece of software which emulates the original Sendmail in its command-line interface, even if that's to send data off the system. That's why you see a fixed interface here, because whether someone is using Sendmail, Exim, Postfix, or a smarthost-only tool like esmtp-run, whatever software is being used presents the same interface. It's not likely that we'd add a lot of customizability to this option. However, you can use the same SMTP server that you use with Neomutt by setting the smtpuser, smtpencryption, smtpserver, and smtpserverport options. You can also use `git format-patch --stdout | neomutt -f -` and that may provide you the same functionality you were hoping for with `sendemail.sendmailCmd`. -- brian m. carlson (he/him or they/them) Toronto, Ontario, CA
Attachment:
signature.asc
Description: PGP signature