Using Raspbian butand Ubunntu 16.04 LTS so need a generic ubuntuLinux solution.
Requirement is simple.:
I need a way to send one-line email messages from the command line.I need a way to send one-line email messages from the command line.
I have set up a gmail account just for this particular Rpi3, with the address of [email protected] - Claws email client works just fine with it, using TLS and no 2FA.
So now I need to be able to send one-line mail messages from anywhere (including cron) without user intervention.
I also would like it to be able to send text files; basically, anything from stdin.