mailsend-go is a cross-platform command-line utility written in Go for sending email messages through SMTP servers. It provides a modern replacement for the original C-based mailsend application. Users can compose plain-text or HTML messages, include multiple attachments, and embed images within email bodies. The utility supports ESMTP authentication, SSL, STARTTLS, and XOAUTH2 authentication through externally obtained tokens. Messages can be distributed to multiple recipients using predefined mailing lists. Users can configure custom email headers, character encodings, and carbon copy recipients. Diagnostic logging and SMTP server inspection facilitate troubleshooting, while its command-line architecture makes it suitable for automated notifications and scheduled scripts.
Features
- Command-line email delivery through configurable SMTP and ESMTP servers
- Secure SMTP communication with SSL, STARTTLS, and XOAUTH2 authentication
- Plain-text and HTML email composition with multiple attachment support
- Embedded images, customizable message headers, and character encoding configuration
- Multiple-recipient delivery with mailing lists, CC, and BCC support
- SMTP server diagnostics and configurable logging for automated email workflows