I'm using the ssmtp package to send e-mail via g-mail. Everything is working fine with it - the only strange thing is that if I send mail via the command line, the "to field" is funky.
ssmtp firstname.lastname@example.org < message.txt
Basically the "to" field will just say "undisclosed recipients"
I read that you can set headers containing a "To:" field, but that seems overly complicated when I've used the
Is there an easier way to send mail via the command line with
ssmtp - but without having to change the above syntax or specify additional parameters? (possibly a config file to set the "to" address as whatever one was specified.