Send Email in One Line
I use this nifty one liner to test if a Linux machine can send emails.
$ echo "This is the body of the email" | mail -s "This is the subject" rai@email.com
You need to install the package mailx (Red Hat or Fedora) to have the mail command.
Related Posts
2 Comments to “Send Email in One Line”
Post comment
Search PinoyTux
Subscribe to Email Feeds
Blog Lounge
Popular Posts
Recent Posts
Drop your Card Here
Recent Comments
- Anidich1 on Tip: Add User and Generate Password Script
- Tom S on Cebu Pacific Sucks
- kadersardar on PinoyTux Spreads Some CommentLuv
- Steve on Creative Labs Threatens Third Party Driver Modder
- Barry on Free Laptops with Broadband Connection









[...] Send Email in One Line [...]
reacharge for wrong vc no.01505206446. pay for rs 5oo. dilar shop name is jain electronic ujjain and his mobile no is 9039578157 . dilar id name is – jain on line
plz amount to transfer right vc 01505106446 customor name is dharmchnd rathod
and mobile no is 9009004502