1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/common/sendmail.md
2016-06-20 23:56:54 +01:00

608 B

sendmail

Send email from the command line.

  • Send a message with the content of message.txt to the mail folder of local user user_name:

sendmail user_name < message.txt

sendmail -f test@gmail.com you@yourdomain.com < message.txt

sendmail -f test@gmail.com you@yourdomain.com < file.zip