Command-line tool
swaks
brew/swaks
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
SMTP command-line test tool
At a glance
- Type
- Command-line tool
- Install on
- macOS
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install swaks
Deliver a standard test email to `user@example.com` on port 25 of `test-server.example.net`
swaks -t user@example.com -s test-server.example.net
Deliver a standard test email, requiring CRAM-MD5 authentication as user `me@example.com`. An "X-Test" header will be added to the email body
swaks -t user@example.com -f me@example.com -a CRAM-MD5 -au me@example.com --header-X-Test "test_email"
Test a virus scanner using EICAR in an attachment. Don't show the message DATA part
swaks -t user@example.com --attach - -s test-server.example.com -n path/to/eicar.txt
Browse
Related command-line tools
- mailsend
A program to send mail via SMTP from command line. - blat
A Windows command line utility that sends eMail using SMTP or post to usenet using NNTP. - shelltestrunner
Portable command-line tool for testing command-line programs - @vscode/test-cli
Command-line runner for VS Code extension tests vscode test cli - SMTP Test Tool
SMTP Test Tool (Windows package; no description in the winget index) diagnostic email tls smtp imap pop3 rustls - auth0
Build, manage and test your Auth0 integrations from the command-line - testscript
Integration tests for command-line applications in .txtar format - hitt
Command line HTTP testing tool focused on speed and simplicity
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents