AptLynx

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

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents