sendmail
Send email. More information: https://manned.org/sendmail.
- Send a message with the content of
message.txtto the mail directory of local userusername:
sendmail <
- Send an email from
sender@example.com(assuming the mail server is configured for this) toreceiver@example.comcontaining the message inmessage.txt:
sendmail <message.txt -f sender@example.com receiver@example.com
- Send an email from
sender@example.com(assuming the mail server is configured for this) toreceiver@example.comcontaining the filefile.zip:
sendmail <file.zip -f sender@example.com receiver@example.com
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
