Skip to content

v4.1.4

Choose a tag to compare

@github-actions github-actions released this 28 Jul 08:15
· 89 commits to main since this release

gomailtesttool Suite v4.0 - Email Infrastructure Testing Tools

Portable CLI tools for comprehensive email infrastructure testing, now split into focused binaries.

What's Included

Each ZIP archive contains three separate binaries:

  • gomailtest - Standard protocols (smtp, imap, pop3, jmap)
  • gomailtest-exchange - Microsoft/Exchange protocols (ews, msgraph)
  • gomailtest-gmail - Gmail / Google Workspace

Plus documentation:

  • README.md - Main documentation
  • TOOLS.md - Protocol-specific tool guides
  • LICENSE - MIT License

Installation

Windows (amd64):

  1. Download gomailtesttool-windows-amd64-v4.1.4.zip
  2. Extract the ZIP file
  3. Run e.g.: gomailtest.exe --help

Linux (amd64):

  1. Download gomailtesttool-linux-amd64-v4.1.4.zip
  2. Extract: unzip gomailtesttool-linux-amd64-v4.1.4.zip
  3. Make executables: chmod +x gomailtest gomailtest-exchange gomailtest-gmail
  4. Run e.g.: ./gomailtest --help

macOS (Apple Silicon/arm64):

  1. Download gomailtesttool-macos-arm64-v4.1.4.zip
  2. Extract: unzip gomailtesttool-macos-arm64-v4.1.4.zip
  3. Make executables: chmod +x gomailtest gomailtest-exchange gomailtest-gmail
  4. Run e.g.: ./gomailtest --help

Note for macOS: If you see "cannot be opened because the developer cannot be verified":

  • Right-click the binary and select "Open", or
  • Run: xattr -d com.apple.quarantine gomailtest gomailtest-exchange gomailtest-gmail

Quick Start Examples

SMTP Testing:

./gomailtest smtp testconnect --host smtp.example.com --port 25
./gomailtest smtp teststarttls --host smtp.example.com --port 587

IMAP Testing:

./gomailtest imap testconnect --host imap.example.com --imaps
./gomailtest imap listfolders --host imap.example.com --imaps \
  --username user@example.com --accesstoken "ya29..."

POP3 Testing:

./gomailtest pop3 testconnect --host pop.example.com --pop3s
./gomailtest pop3 listmail --host pop.example.com --pop3s \
  --username user@example.com --password "app-password"

JMAP Testing:

./gomailtest jmap testconnect --host jmap.fastmail.com
./gomailtest jmap getmailboxes --host jmap.fastmail.com \
  --username user@fastmail.com --accesstoken "token"

EWS / Microsoft Graph:

./gomailtest-exchange ews testconnect --host mail.example.com
./gomailtest-exchange msgraph getinbox --tenantid "..." --clientid "..." --secret "..." \
  --mailbox "user@example.com"

Gmail / Google Workspace:

./gomailtest-gmail gmail listmessages --credentials credentials.json \
  --mailbox user@gmail.com

Documentation