SecurityPreview
Open in TheBrain

Swaks

swaks (Swiss Army Knife SMTP) is a command-line tool written in Perl for testing SMTP setups; it supports STARTTLS and SMTP AUTH (PLAIN, LOGIN, CRAM-MD5, SPA, and DIGEST-MD5). swaks allows one to stop the SMTP dialog at any stage, e.g to check RCPT TO: without actually sending a mail.

Let me just warn you that swaks is very versatile tool.

About

Swaks is a featureful, flexible, scriptable, transaction-oriented SMTP test tool written and maintained by John Jetmore. It is free to use and licensed under the GNU GPLv2.

Features include:


Download

The latest version of Swaks is 20201014.0 (announcement), which can be downloaded as a package or a standalone script.

See the installation page for details on installing in multiple environments.

The versions page lists every released version of Swaks, complete with changelogs and download links.

Documentation

The reference documentation from the latest release, which includes quick-start examples, is available as plain text and rendered. The documentation from each release is available from the versions page. There is also an Occasionally Asked Questions document.

Source

The Swaks source code is available at https://github.com/jetmore/swaks.