Skip to content

cloudmailin/mailtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudMailin Logo

CloudMailin MailTools

MailTools is an SMTP client toolkit for testing SMTP servers. It's designed to send example emails or push example raw emails to an SMTP server.

Installation

The easiest way to install MailTools is to download it and create a symlink to the mailtools script in your path.

git clone
ln -s $(pwd)/mailtools /usr/local/bin/mailtools

Usage

Usage:
  cli send

Options:
  [--from=FROM]
                               # Default: CLI <cli@smtp>
  [--to=TO]
                               # Default: Debug <debug@smtp>
  [--cc=CC]
  [--bcc=BCC]
  [--times=N]
                               # Default: 1
  [--concurrency=N]
                               # Default: 5
  [--class=CLASS]
  [--verbose], [--no-verbose]
                               # Default: false
  [--data=DATA]
  [--headers=one two three]
  [--host=HOST]
                               # Default: localhost
  [--port=N]
                               # Default: 587
  [--username=USERNAME]
  [--password=PASSWORD]
  [--smtp-url=SMTP_URL]

Send test messages

Example

mailtools send  --smtp_url "smtp://user:[email protected]:587?starttls=true" --times 20 --concurrency=10 --headers x_cloudmta_layout=test --verbose

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published