Command-line tool
msmtp
brew/msmtp
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
SMTP client that can be used as an SMTP plugin for Mutt
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install msmtp
Linux
brew install msmtp
Send an email using the default account configured in `~/.msmtprc`
echo "Hello world" | msmtp to@example.org
Send an email using a specific account configured in `~/.msmtprc`
echo "Hello world" | msmtp --account=account_name to@example.org
Send an email without a configured account. The password should be specified in the `~/.msmtprc` file
echo "Hello world" | msmtp --host=localhost --port=999 --from=from@example.org to@example.org
Browse
Related command-line tools
- mutt
Mongrel of mail user agents (part elm, pine, mush, mh, etc.) - notmuch-mutt
Notmuch integration for Mutt - lbdb
Little brother's database for the mutt mail reader - abook
Address book with mutt support - shadowsocks-qtun-plugin
Yet another SIP003 plugin based on IETF-QUIC. - openliberty
Server runtime available to JavaTM developers - protoc-gen-go-grpc
Protoc plugin that generates code for gRPC-Go clients - protoc-gen-grpc-web
Protoc plugin that generates code for gRPC-Web clients
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents