tldr/pages/common/sendmail.md

658 B

sendmail

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}}

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

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