swaks
« Back to VersTracker
Description:
SMTP command-line test tool
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: smtp email testing networking cli
Install: brew install swaks
About:
Swaks is a feature-rich command-line tool for testing SMTP servers and email configurations. It allows users to craft and send arbitrary SMTP transactions, providing detailed diagnostics for troubleshooting. Its primary value is in validating email setups, debugging mail server issues, and automating email delivery tests.
Key Features:
  • Supports various SMTP authentication methods (PLAIN, LOGIN, CRAM-MD5)
  • Allows for complete control over SMTP headers and message body
  • Provides detailed transaction logging for debugging
  • Supports TLS/SSL connections for secure email testing
Use Cases:
  • Verifying email server configuration and connectivity
  • Debugging issues with email delivery or spam filtering
  • Automated testing of email-dependent applications
Alternatives:
  • curl – More general-purpose network tool; Swaks offers specialized SMTP features and easier syntax for email testing.
  • telnet – Manual and low-level; Swaks automates the SMTP protocol handshake and supports modern features like TLS.
Version History
Detected Version Rev Change Commit