
Sending Emails from Scripts with msmtp
Update (October 25, 2026) Thanks to a reader’s comment, I added a chapter on keeping the SMTP password out of the config file with passwordeval. It shows two ways, the macOS Keychain and pass with gpg on Linux, and explains when the simple plain text password is still the better choice.
