Working Method to Read Recipients from File

git format-patch HEAD~X --subject-prefix "PATCH (RFC) (tree) (vX)" --cover-letter

./scripts/get_maintainer.pl --norolestats --nol --nor 00* > to.txt
./scripts/get_maintainer.pl --norolestats --nom 00* > cc.txt

git send-email --no-chain-reply-to \\
--to-cmd="cat to.txt && cat > /dev/null" \\
--cc-cmd="cat cc.txt && cat > /dev/null" \\
00*

# If sending the patches fails halfway, "<Message-ID>" is of the first mail.
git send-email --in-reply-to="<Message-ID>" --no-thread \\
--to-cmd="cat to.txt && cat > /dev/null" \\
--cc-cmd="cat cc.txt && cat > /dev/null" \\
001*

Patch Series Cover Letter Template

[PATCH (RFC) (tree) (vX) 0/X] Subject

Body

Signed-off-by: Arınç ÜNAL <mail>
---
(Changes in v2:)
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1:

(The part below is added by the "--cover-letter" option.)
---
Arınç ÜNAL (X):
  <commit> (git log --reverse --format="  %s" -n X)

 <diffstat> (git diff --stat-width 75 HEAD~X)

How to convert scripts/get_maintainer.pl output as input to mutt or git-send email?

git send email with --cc-cmd and --to-cmd