Posted: Wed Aug 20, 2008 12:45 pm Post subject: send mail in linux through mailx command
Sending mail in linux is most easiest work. You have to just install sendmail package in linux. It is already installed when u install linux RHEL CentOS fedora or others. Linux has a command mail and mailx.
to send mail command is
mailx -s "Subject Message with Attachment" "emailID@domainName.com" < contentFile.txt