Mailx Question

Software Info softwareinfojam at gmail.com
Tue Apr 9 21:09:54 UTC 2019


Hi All
Since mailx is built into FreeBSD I decided to try asking this question here. I have a text file with about 30 email addresses. The file will change every day. I want an easy commandline way to read the file and blind copy send an email to the addresses in the file. So far, I have this working with just a plain send using the command below.
mailx -s "Test Emails" -b `cat mylist.txt` < body.txt -r "No-Reply<no-reply at email.com>"

Of course, when I use a plain send, everybody sees everybody’s email address so I would love to be able to do a blind copy send. Would anyone be able to assist me with this?


Regards
SI


Sent from Mail for Windows 10



More information about the freebsd-stable mailing list