Linux Commands Cheat Sheet
send_mail(){ cat << EOM | mailx -s "test" -S smtp=smtp://x.x.x.x:25 -S from=`hostname`@example.com to@sample.com Hi This is test mail `date` EOM }
Related Pages