sendmail
Send email. More information: <https://manned.org/sendmail>.
Install
- All systems
-
curl cmd.cat/sendmail.sh
- Debian
-
apt-get install xmail - Ubuntu
-
apt-get install xmail - Arch Linux
-
pacman -S esmtp - Kali Linux
-
apt-get install citadel-server - CentOS
-
yum install sendmail - Fedora
-
dnf install sendmail - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install xmail - Raspbian
-
apt-get install xmail
Send email. More information: <https://manned.org/sendmail>.
-
Send a message with the content of `message.txt` to the mail directory of local user `username`:
sendmail username < message.txt -
Send an email from [email protected] (assuming the mail server is configured for this) to [email protected] containing the message in `message.txt`:
sendmail -f [email protected] [email protected] < message.txt -
Send an email from [email protected] (assuming the mail server is configured for this) to [email protected] containing the file `file.zip`:
sendmail -f [email protected] [email protected] < file.zip
© tl;dr; authors and contributors