mailjetctl

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2022 License: MIT Imports: 4 Imported by: 0

README

mailjetctl

Small binary used to send mail via Mailjet.

Usage

You will need to configure your API key with the following environment variables:

export MJ_APIKEY_PUBLIC="my public key"
export MJ_APIKEY_PRIVATE="my secret key"

Then, you can use the following options:

usage: mailjetctl [--help] [--from FROM] [--recipient RECIPIENT [RECIPIENT ...]] [--recipients-file RECIPIENTS-FILE] [--subject SUBJECT] [--subject-file SUBJECT-FILE] [--text-file TEXT-FILE] [--html-file HTML-FILE]

Command Line Interface for Mailjet

optional arguments:
  --help, -h
  --from FROM, -f FROM                                   Sender email address
  --recipient RECIPIENT, -r RECIPIENT                    Recipient email address
  --recipients-file RECIPIENTS-FILE, -R RECIPIENTS-FILE  Path to file containing recipients (one per line)
  --subject SUBJECT, -s SUBJECT                          Email subject
  --subject-file SUBJECT-FILE, -S SUBJECT-FILE           Path to file containing the email subject
  --text-file TEXT-FILE, -T TEXT-FILE                    Path to file containing the email text part
  --html-file HTML-FILE, -H HTML-FILE                    Path to file containing the email HTML part

License

This project is released under the terms of the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL