"Mailing list" in one line
fisho down

"Mailing list" in one line

Article image.
feature: non-GNU


# ==> list-of-emails.txt <==
Your Name <youremail@example.com>
...
...
# ==> mailing-list.sh <==
#!/bin/sh
while read email; do neomutt -H "$MESSAGEFILE" "$email" < /dev/null; done < /dev/stdin

Make an mbox email with neomutt of whatever.
Now run it.

cat list-of-emails.txt | mailing-list.sh email-file.mbox

Now make an alias in (zsh) for extreme FAST mailing

alias mail2list='f(){ [ -n "$1" ] && cat /home/jose/.config/mailing-list/the-mailing-list | mailing-list "$1" }; f'
fisho up
in: articles

Spenser Truex

Contact
hacker emblem
| |