tldr/pages/common/sendmail.md
Marco Bonelli 2599a6de48 Refactor: change "folder" to "directory" where needed.
This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
2019-02-13 20:51:04 +05:30

629 B

sendmail

Send email from the command line.

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

sendmail {{user_name}} < {{message.txt}}

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

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