Skip to content

RuneStone0/safemail-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

CLI Tool for Safemail

This is a CLI tool for Safemail by Deltagon (https://www.deltagon.com/). The intention of this tool is to speed up the process of sending multiple emails through the Safemail tool.

Setup

  1. Open smailer.py and update the config section to match your end-point
  2. Setup local environment a. virtualenv venv b. pip install -r requirements.txt
  3. Run program: python smailer.py

Example

python smailer.py --help
usage: smailer.py [-h] [--key] [--subject] [--message] [--to] [--url] [--attach [file.pdf [file.pdf ...]]]
                  [--send]

Safemail CLI.

optional arguments:
  -h, --help            show this help message and exit
  --key                 Safemail KEY
  --subject             Email Subject
  --message             Email Message
  --to                  Email Recipients. Format: [email].[phone].s,[email].[phone].s
  --url                 Safemail URL endpoint. Example: https://safemail.company.com/. Note, the URL must end
                        with a trailing / (forward slash)
  --attach [file.pdf [file.pdf ...]]
                        One or more files to attach
  --send                When set, the email will be sent. If not, a preview will be shown.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages