mail

From WebHostingNeeds.com
Jump to: navigation, search


Mail Server Solutions

Work Mail Solutions

MAIL API

Sending Mail From Linux Command Line

mail command is used to send/read mail in command line.

Testing mail from server

echo "testing" | mail -s "test" [email protected]

Check mail log

tail -f /path/to/maillog.log 


On cpanel server

echo > /var/log/exim_mainlog
echo "Testing " | mail -s "Test Email" [email protected]
tail -f /var/log/exim_mainlog




linux commands