Skip to content

scgrn/sendMail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sendMail

A utility to send email from the Windows command line. Useful for automation workflows!

(Not to be confused with Sendmail)

Builds with pyinstaller.

Installation:

Fork or clone the repo and execute build.cmd to build the executable.

Usage:

Sends an email via Outlook

sendMail [-h] [--cc CC] [--attachments ATTACHMENTS] [--edit] --to TO --subject SUBJECT --body BODY

Parameter Usage
-h, --help Shows help message and exits
--to Recipients (semicolon delimited)
--cc CC recipients (semicolon delimited)
--subject Email subject line
--body Email body
--attachments Attachment paths (semicolon delimited)
--edit Open draft instead of immediately sending

To, subject, and body are required. Note that there is a shocking lack of error checking here, validate your output before you feed this beast!

Returns 0 on success or 1 on failure

License:

Distributed under the MIT License. See LICENSE.txt for more information.

Contact:

Andrew Krause - ajkrause@gmail.com

Project Link: https://github.com/scgrn/sendMail

About

A utility to send email via Outlook from the Windows command line

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors