Skip to content

Releases: ehlo-pl/gomailtesttool

v4.0.3

Choose a tag to compare

@ziembor ziembor released this 20 Jul 04:20

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.0.3.zip
  2. Extract the ZIP file
  3. Run e.g.: gomailtest.exe --help

Linux (amd64):

  1. Download gomailtesttool-linux-amd64-v4.0.3.zip
  2. Extract: unzip gomailtesttool-linux-amd64-v4.0.3.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.0.3.zip
  2. Extract: unzip gomailtesttool-macos-arm64-v4.0.3.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

v3.6.10

Choose a tag to compare

@github-actions github-actions released this 17 Jul 10:13

gomailtesttool Suite - Email Infrastructure Testing Tools

Portable CLI tools for comprehensive email infrastructure testing - covering cloud services (Exchange Online via Microsoft Graph), SMTP, IMAP, POP3, and JMAP protocols.

What's Included

Each ZIP archive contains a single unified binary:

  • gomailtest - Unified CLI for all protocols (smtp, imap, pop3, jmap, msgraph subcommands)

Plus documentation:

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

Installation

Windows (amd64):

  1. Download gomailtesttool-windows-amd64-v3.6.10.zip
  2. Extract the ZIP file
  3. Run: gomailtest.exe --help

Linux (amd64):

  1. Download gomailtesttool-linux-amd64-v3.6.10.zip
  2. Extract: unzip gomailtesttool-linux-amd64-v3.6.10.zip
  3. Make executable: chmod +x gomailtest
  4. Run: ./gomailtest --help

macOS (Apple Silicon/arm64):

  1. Download gomailtesttool-macos-arm64-v3.6.10.zip
  2. Extract: unzip gomailtesttool-macos-arm64-v3.6.10.zip
  3. Make executable: chmod +x gomailtest
  4. Run: ./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

Quick Start Examples

SMTP Testing:

# Test connectivity
./gomailtest smtp testconnect --host smtp.example.com --port 25

# TLS diagnostics
./gomailtest smtp teststarttls --host smtp.example.com --port 587

IMAP Testing:

# Test connection
./gomailtest imap testconnect --host imap.gmail.com --imaps

# List folders with OAuth2
./gomailtest imap listfolders --host imap.gmail.com --imaps \
  --username user@gmail.com --accesstoken "ya29..."

POP3 Testing:

# Test connection
./gomailtest pop3 testconnect --host pop.gmail.com --pop3s

# List mail
./gomailtest pop3 listmail --host pop.gmail.com --pop3s \
  --username user@gmail.com --password "app-password"

JMAP Testing:

# Discover session
./gomailtest jmap testconnect --host jmap.fastmail.com

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

Microsoft Graph:

./gomailtest msgraph getinbox --tenantid "..." --clientid "..." --secret "..." \
  --mailbox "user@example.com"

Documentation

v3.6.7

Choose a tag to compare

@github-actions github-actions released this 15 Jul 22:37

gomailtesttool Suite - Email Infrastructure Testing Tools

Portable CLI tools for comprehensive email infrastructure testing - covering cloud services (Exchange Online via Microsoft Graph), SMTP, IMAP, POP3, and JMAP protocols.

What's Included

Each ZIP archive contains a single unified binary:

  • gomailtest - Unified CLI for all protocols (smtp, imap, pop3, jmap, msgraph subcommands)

Plus documentation:

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

Installation

Windows (amd64):

  1. Download gomailtesttool-windows-amd64-v3.6.7.zip
  2. Extract the ZIP file
  3. Run: gomailtest.exe --help

Linux (amd64):

  1. Download gomailtesttool-linux-amd64-v3.6.7.zip
  2. Extract: unzip gomailtesttool-linux-amd64-v3.6.7.zip
  3. Make executable: chmod +x gomailtest
  4. Run: ./gomailtest --help

macOS (Apple Silicon/arm64):

  1. Download gomailtesttool-macos-arm64-v3.6.7.zip
  2. Extract: unzip gomailtesttool-macos-arm64-v3.6.7.zip
  3. Make executable: chmod +x gomailtest
  4. Run: ./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

Quick Start Examples

SMTP Testing:

# Test connectivity
./gomailtest smtp testconnect --host smtp.example.com --port 25

# TLS diagnostics
./gomailtest smtp teststarttls --host smtp.example.com --port 587

IMAP Testing:

# Test connection
./gomailtest imap testconnect --host imap.gmail.com --imaps

# List folders with OAuth2
./gomailtest imap listfolders --host imap.gmail.com --imaps \
  --username user@gmail.com --accesstoken "ya29..."

POP3 Testing:

# Test connection
./gomailtest pop3 testconnect --host pop.gmail.com --pop3s

# List mail
./gomailtest pop3 listmail --host pop.gmail.com --pop3s \
  --username user@gmail.com --password "app-password"

JMAP Testing:

# Discover session
./gomailtest jmap testconnect --host jmap.fastmail.com

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

Microsoft Graph:

./gomailtest msgraph getinbox --tenantid "..." --clientid "..." --secret "..." \
  --mailbox "user@example.com"

Documentation

v3.5.5

Choose a tag to compare

@github-actions github-actions released this 08 Jul 21:01
a8c4d84

gomailtesttool Suite - Email Infrastructure Testing Tools

Portable CLI tools for comprehensive email infrastructure testing - covering cloud services (Exchange Online via Microsoft Graph), SMTP, IMAP, POP3, and JMAP protocols.

What's Included

Each ZIP archive contains a single unified binary:

  • gomailtest - Unified CLI for all protocols (smtp, imap, pop3, jmap, msgraph subcommands)

Plus documentation:

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

Installation

Windows (amd64):

  1. Download gomailtesttool-windows-amd64-v3.5.5.zip
  2. Extract the ZIP file
  3. Run: gomailtest.exe --help

Linux (amd64):

  1. Download gomailtesttool-linux-amd64-v3.5.5.zip
  2. Extract: unzip gomailtesttool-linux-amd64-v3.5.5.zip
  3. Make executable: chmod +x gomailtest
  4. Run: ./gomailtest --help

macOS (Apple Silicon/arm64):

  1. Download gomailtesttool-macos-arm64-v3.5.5.zip
  2. Extract: unzip gomailtesttool-macos-arm64-v3.5.5.zip
  3. Make executable: chmod +x gomailtest
  4. Run: ./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

Quick Start Examples

SMTP Testing:

# Test connectivity
./gomailtest smtp testconnect -host smtp.example.com -port 25

# TLS diagnostics
./gomailtest smtp teststarttls -host smtp.example.com -port 587

IMAP Testing:

# Test connection
./gomailtest imap testconnect -host imap.gmail.com -imaps

# List folders with OAuth2
./gomailtest imap listfolders -host imap.gmail.com -imaps \
  -username user@gmail.com -accesstoken "ya29..."

POP3 Testing:

# Test connection
./gomailtest pop3 testconnect -host pop.gmail.com -pop3s

# List mail
./gomailtest pop3 listmail -host pop.gmail.com -pop3s \
  -username user@gmail.com -password "app-password"

JMAP Testing:

# Discover session
./gomailtest jmap testconnect -host jmap.fastmail.com

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

Microsoft Graph:

./gomailtest msgraph -tenantid "..." -clientid "..." -secret "..." \
  -mailbox "user@example.com" -action getinbox

Documentation

v3.4.2

Choose a tag to compare

@github-actions github-actions released this 04 Jul 07:45

gomailtesttool Suite - Email Infrastructure Testing Tools

Portable CLI tools for comprehensive email infrastructure testing - covering cloud services (Exchange Online via Microsoft Graph), SMTP, IMAP, POP3, and JMAP protocols.

What's Included

Each ZIP archive contains a single unified binary:

  • gomailtest - Unified CLI for all protocols (smtp, imap, pop3, jmap, msgraph subcommands)

Plus documentation:

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

Installation

Windows (amd64):

  1. Download gomailtesttool-windows-amd64-v3.4.2.zip
  2. Extract the ZIP file
  3. Run: gomailtest.exe --help

Linux (amd64):

  1. Download gomailtesttool-linux-amd64-v3.4.2.zip
  2. Extract: unzip gomailtesttool-linux-amd64-v3.4.2.zip
  3. Make executable: chmod +x gomailtest
  4. Run: ./gomailtest --help

macOS (Apple Silicon/arm64):

  1. Download gomailtesttool-macos-arm64-v3.4.2.zip
  2. Extract: unzip gomailtesttool-macos-arm64-v3.4.2.zip
  3. Make executable: chmod +x gomailtest
  4. Run: ./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

Quick Start Examples

SMTP Testing:

# Test connectivity
./gomailtest smtp testconnect -host smtp.example.com -port 25

# TLS diagnostics
./gomailtest smtp teststarttls -host smtp.example.com -port 587

IMAP Testing:

# Test connection
./gomailtest imap testconnect -host imap.gmail.com -imaps

# List folders with OAuth2
./gomailtest imap listfolders -host imap.gmail.com -imaps \
  -username user@gmail.com -accesstoken "ya29..."

POP3 Testing:

# Test connection
./gomailtest pop3 testconnect -host pop.gmail.com -pop3s

# List mail
./gomailtest pop3 listmail -host pop.gmail.com -pop3s \
  -username user@gmail.com -password "app-password"

JMAP Testing:

# Discover session
./gomailtest jmap testconnect -host jmap.fastmail.com

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

Microsoft Graph:

./gomailtest msgraph -tenantid "..." -clientid "..." -secret "..." \
  -mailbox "user@example.com" -action getinbox

Documentation

v2.6.18

Choose a tag to compare

@github-actions github-actions released this 03 Feb 19:11

gomailtesttool Suite - Email Infrastructure Testing Tools

Portable CLI tools for comprehensive email infrastructure testing - covering cloud services (Exchange Online via Microsoft Graph), SMTP, IMAP, POP3, and JMAP protocols.

What's Included

Each ZIP archive contains 5 tools:

  • msgraphtool - Microsoft Graph API tool for Exchange Online
  • smtptool - SMTP connectivity and TLS testing
  • imaptool - IMAP server testing with XOAUTH2 support
  • pop3tool - POP3 server testing with XOAUTH2 support
  • jmaptool - JMAP protocol testing

Plus documentation:

  • README.md - Main documentation
  • ** _TOOL_README.md* - specific protocols tool guide
  • EXAMPLES.md - Usage examples
  • LICENSE - MIT License

Installation

Windows (amd64):

  1. Download gomailtesttool-windows-amd64.zip
  2. Extract the ZIP file
  3. Run any tool directly (e.g., smtptool.exe -help)

Linux (amd64):

  1. Download gomailtesttool-linux-amd64.zip
  2. Extract: unzip gomailtesttool-linux-amd64.zip
  3. Make executable: chmod +x *tool
  4. Run: ./smtptool -help

macOS (Apple Silicon/arm64):

  1. Download gomailtesttool-macos-arm64.zip
  2. Extract: unzip gomailtesttool-macos-arm64.zip
  3. Make executable: chmod +x *tool
  4. Run: ./smtptool -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 *tool

Quick Start Examples

SMTP Testing:

# Test connectivity
./smtptool -action testconnect -host smtp.example.com -port 25

# TLS diagnostics
./smtptool -action teststarttls -host smtp.example.com -port 587

IMAP Testing:

# Test connection
./imaptool -action testconnect -host imap.gmail.com -imaps

# List folders with OAuth2
./imaptool -action listfolders -host imap.gmail.com -imaps \
  -username user@gmail.com -accesstoken "ya29..."

POP3 Testing:

# Test connection
./pop3tool -action testconnect -host pop.gmail.com -pop3s

# List mail
./pop3tool -action listmail -host pop.gmail.com -pop3s \
  -username user@gmail.com -password "app-password"

JMAP Testing:

# Discover session
./jmaptool -action testconnect -host jmap.fastmail.com

# Get mailboxes
./jmaptool -action getmailboxes -host jmap.fastmail.com \
  -username user@fastmail.com -accesstoken "token"

Microsoft Graph:

./msgraphtool -tenantid "..." -clientid "..." -secret "..." \
  -mailbox "user@example.com" -action getinbox

Tools Overview

Tool Protocol Ports Auth Methods
smtptool SMTP 25, 587, 465 PLAIN, LOGIN, CRAM-MD5, XOAUTH2
imaptool IMAP 143, 993 PLAIN, LOGIN, XOAUTH2
pop3tool POP3 110, 995 USER/PASS, APOP, XOAUTH2
jmaptool JMAP 443 Basic, Bearer
msgraphtool Graph API 443 Client Secret, Certificate, Bearer

Documentation

v2.3.3

Choose a tag to compare

@github-actions github-actions released this 25 Jan 06:48

Microsoft Graph & SMTP Testing Tools

Portable CLI tools for comprehensive email infrastructure testing - both cloud (Exchange Online via Microsoft Graph) and on-premises (SMTP servers).

What's Included

Each ZIP archive contains:

  • msgraphgolangtestingtool - Microsoft Graph API tool for Exchange Online
  • smtptool - SMTP connectivity testing tool with comprehensive TLS diagnostics
  • README.md - Main documentation
  • SMTP_TOOL_README.md - Complete SMTP tool guide
  • BUILD.md - Build instructions for both tools
  • EXAMPLES.md - Microsoft Graph tool usage examples
  • LICENSE - MIT License

Installation

Windows:

  1. Download msgraphgolangtestingtool-windows.zip
  2. Extract the ZIP file
  3. Run msgraphgolangtestingtool.exe or smtptool.exe directly

Linux:

  1. Download msgraphgolangtestingtool-linux.zip
  2. Extract: unzip msgraphgolangtestingtool-linux.zip
  3. Make executable: chmod +x msgraphgolangtestingtool smtptool
  4. Run: ./msgraphgolangtestingtool or ./smtptool

macOS:

  1. Download msgraphgolangtestingtool-macos.zip
  2. Extract: unzip msgraphgolangtestingtool-macos.zip
  3. Make executable: chmod +x msgraphgolangtestingtool smtptool
  4. Run: ./msgraphgolangtestingtool or ./smtptool

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 msgraphgolangtestingtool smtptool

Quick Start

Microsoft Graph Tool:

# Windows
.\msgraphgolangtestingtool.exe -tenantid "..." -clientid "..." -secret "..." -mailbox "user@example.com" -action getinbox

# Linux/macOS
./msgraphgolangtestingtool -tenantid "..." -clientid "..." -secret "..." -mailbox "user@example.com" -action getinbox

SMTP Tool:

# Windows - Test connectivity
.\smtptool.exe -action testconnect -host smtp.example.com -port 25

# Windows - Comprehensive TLS diagnostics
.\smtptool.exe -action teststarttls -host smtp.example.com -port 587

# Linux/macOS - Test connectivity
./smtptool -action testconnect -host smtp.example.com -port 25

# Linux/macOS - Comprehensive TLS diagnostics
./smtptool -action teststarttls -host smtp.example.com -port 587

Documentation

  • README.md - Overview and quick start for both tools
  • SMTP_TOOL_README.md - Complete SMTP tool documentation with all actions
  • EXAMPLES.md - Detailed Microsoft Graph tool examples
  • BUILD.md - Build from source instructions
  • Online: GitHub Repository

Tools Overview

msgraphgolangtestingtool - Microsoft Graph API operations:

  • Send emails, create calendar events
  • List inbox messages and calendar events
  • Check availability, export data
  • Multiple authentication methods (Client Secret, PFX Certificate, Windows Certificate Store)

smtptool - SMTP connectivity testing:

  • Test basic SMTP connectivity with capability detection
  • Comprehensive TLS/SSL handshake analysis
  • Certificate chain validation and expiry warnings
  • SMTP authentication testing
  • Send test emails
  • Exchange server detection (2003-2019)

v1.23.8

Choose a tag to compare

@github-actions github-actions released this 08 Jan 07:22

Microsoft Graph EXO Mails/Calendar Golang Testing Tool

Portable CLI tool for Microsoft Graph API operations.

What's Included

Each ZIP archive contains:

  • Binary executable (msgraphgolangtestingtool.exe or msgraphgolangtestingtool)
  • EXAMPLES.md - Comprehensive usage examples
  • LICENSE - MIT License
  • README.md - Complete documentation

Installation

Windows:

  1. Download msgraphgolangtestingtool-windows.zip
  2. Extract the ZIP file
  3. Run msgraphgolangtestingtool.exe directly

Linux:

  1. Download msgraphgolangtestingtool-linux.zip
  2. Extract the ZIP file: unzip msgraphgolangtestingtool-linux.zip
  3. Make it executable: chmod +x msgraphgolangtestingtool
  4. Run: ./msgraphgolangtestingtool

macOS:

  1. Download msgraphgolangtestingtool-macos.zip
  2. Extract the ZIP file: unzip msgraphgolangtestingtool-macos.zip
  3. Make it executable: chmod +x msgraphgolangtestingtool
  4. Run: ./msgraphgolangtestingtool

Note for macOS: If you see "cannot be opened because the developer cannot be verified", you may need to:

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

Quick Start

Windows:

.\msgraphgolangtestingtool.exe -tenantid "<TENANT_ID>" -clientid "<CLIENT_ID>" -secret "<SECRET>" -mailbox "<EMAIL>" -action <ACTION>

Linux / macOS:

./msgraphgolangtestingtool -tenantid "<TENANT_ID>" -clientid "<CLIENT_ID>" -secret "<SECRET>" -mailbox "<EMAIL>" -action <ACTION>

Documentation

  • See EXAMPLES.md in the ZIP for detailed usage examples
  • See README.md in the ZIP for complete reference
  • Online: README.md

v1.14.10

Choose a tag to compare

@github-actions github-actions released this 04 Jan 07:00

Microsoft Graph GoLang Testing Tool

Portable CLI tool for Microsoft Graph API operations.

Installation

Download msgraphgolangtestingtool.exe and run directly on Windows.

Usage

.\msgraphgolangtestingtool.exe -tenantid "<TENANT_ID>" -clientid "<CLIENT_ID>" -secret "<SECRET>" -mailbox "<EMAIL>" -action <ACTION>

See README.md for complete documentation.