- mailx - a Mail User Agent which allows you to send and receive mail using command line parameters, and
- esmtp - a Mail Transfer Agent which transfer mail from one computer to another
Well, as it turned out, it wasn't that hard to get it up and running anyway which might explain the lack of documentation. But for the uninitiated, all you need is to create a config file called esmtprc in your /ffp/etc folder and input your mail provider details there. To learn more about how to configure the esmtprc file, take a look at this sample.
Then to send mail, use the mailx command syntax like this
> cat /bs/some_file.txt mailx -s "the email subject line" -r firstname.lastname@example.org email@example.com
which sends the content of the file "some_file.txt" as the body of the message, or to send it as an attachment, use this
>mailx -s "this is your subject line" -a /bs/some_file.txt -r firstname.lastname@example.org email@example.com
To use gmail as your mail provider, you may want to check out this forum post.