Mail.comp
mail.comp
is a command-line email client that is part of the mailx
package in many Linux distributions. It is a simple and lightweight email client that allows you to send and receive emails using a command-line interface.
Here are some basic commands you can use with mail.comp
:
Sending an email:
mail -s "Subject" [email protected]
- Send an email with a subject and body.mail -s "Subject" [email protected] < message.txt
- Send an email with a subject and body from a file.
Receiving emails:
mail
- Check for new emails and display the list of messages.mail -f
- Check for new emails and display the list of messages, including deleted messages.mail -d
- Delete all emails in the inbox.
Managing emails:
mail -r
- Reply to a message.mail -f
- Forward a message.mail -d
- Delete a message.mail -s
- Save a message to a file.
Other commands:
mail -h
- Display help.mail -v
- Display version information.
Note that mail.comp
is a text-based email client, so you'll need to use plain text formatting for your emails. You can use the mail
command with various options and flags to customize your email experience.