Currently the server I have has blocked emails from being sent from it due to spam issues. So I am currently looking for a way to send e-mail through the command line or shell script through an external SMTP server like gmail.
Please note that if I require other software to aid in this issue, I do not have root access on the server thus I cannot install software that requires root but I can install them locally provided that I build from source with
./configure --prefix=$HOME. The server comes with