msmtp
An SMTP client. It reads text from
stdinand sends it to an SMTP server. More information: https://marlam.de/msmtp/.
- Send an email using the default account configured in
~/.msmtprc:
echo "" | msmtp
- Send an email using a specific account configured in
~/.msmtprc:
echo "" | msmtp --account=
- Send an email without a configured account. The password should be specified in the
~/.msmtprcfile:
echo "" | msmtp --host= --port= --from=
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
