A CLI tool written in Rust for using the Mailgun API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Aayla Semyonova (she/her) e84772ade0
Changed name
2 months ago
src Changed name 2 months ago
.gitignore Initial Commit 11 months ago
Cargo.toml Changed name 2 months ago
LICENSE Added code to load config file 11 months ago
README.md Update 'README.md' 4 months ago

README.md

GPLv3 License

Unified Mailgun Tool

A CLI tool for using various Mailgun API endpoints.

Currently Supported

  1. Bulk Email Validation with .csv files
  2. Single Email Validation passed in the command line

Usage

For basic usage, you can run the program with the -h parameter as ./mailgun -h or mailgun -h if the binary is in your $PATH variable. The -h option can be used with any subcommand to display its instructions. For example: mailgun bulkverify -h. The mailgun private key will have to be provided in your configuration file (mailgun.conf by default) as using keys in the command line is insecure.

Unified Mailgun Tool 1.0
Aayla Fetzer
A commandline client for the Mailgun API

USAGE:
    mailgun [OPTIONS] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c <config>        Path to configuration file. This will be created if it doesn't already exist. [default:
                       ./config.conf]

SUBCOMMANDS:
    bulkmail        Send bulk mail to the addresses in a csv file
    bulkvalidate    Verify the deliverability of email addresses in a csv file
    help            Prints this message or the help of the given subcommand(s)
    validate        Verify the deliverability of a single email address

Configuration

The default configuration file is as follows:

mailgun_key = 'MAILGUN KEY'