< Linux < Basic commands
Mailx command allows to read or send email from command line.
Examples
- Sending and email[1]:
echo "Hello world" | mailx -s "My first mail message using mailx command line" localusername@localhost
- Reading emails:
mailxormailx -f(to read old messages)[2]
See also
This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.