sendmail
Send email. More information: https://manned.org/sendmail.
-
Send a message with the content of
message.txt
to the mail directory of local userusername
:
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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.