msmtp
A small SMTP client that sends mail for terminal mail readers and scripts through a mail server.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get msmtp
Package managers
- Homebrew
brew install msmtp
About msmtp
msmtp sends a message to an SMTP server, which handles delivery from there. You put your mail accounts in a configuration file and set your mail reader to call msmtp in place of /usr/sbin/sendmail. Its command-line options and exit codes follow sendmail.
It supports multiple accounts, TLS with client certificates, many authentication methods, command pipelining, delivery status notifications, SOCKS proxies and internationalized domain names. It suits mutt, alot or aerc users and scripts that need to send mail without running a full mail server.
Strengths
- Drop-in replacement for the sendmail command
- Multiple accounts in one configuration file
- TLS, client certificates and many authentication methods
- Few required dependencies
Limitations
- Sends mail only; it does not read or fetch messages
- Configured through a text file with no graphical setup
Details
- Pricing
- FreeFree software with no paid tier.
- License
- GPL-3.0
- Developer
- Martin Lambers
- Platforms
- macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Best suited for
- Sending mail from terminal mail readers, cron jobs and scripts
- Categories
- Email clients, CLI tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to msmtp
Compare allSoftware that can replace msmtp for an important use case, and what changes if you switch.
Pop
Compose and send email from the terminal.
Pop composes and sends email from the terminal with an interactive mode and a scriptable mode, and also runs on Windows.
Similar software
Related functionality, not necessarily a direct replacement.
Mutt
A text-based email client that runs in the terminal on Unix-like systems.
NeoMutt
A fork of Mutt that gathered decades of scattered patches into one maintained terminal mail client.
getmail6
A command-line tool that fetches mail from POP3 and IMAP servers into local mailboxes.
isync
Fast IMAP to Maildir mirroring, usually invoked as mbsync.
OfflineIMAP
Synchronises IMAP accounts into local Maildir folders.
Postfix
A widely used open-source mail transfer agent for routing and delivering email.