Skip to content

Runs specified process and sends email notification with programs's output if exit code was not zero (Windows)

License

Notifications You must be signed in to change notification settings

shalupov/task-sendmail

Repository files navigation

task-sendmail

Runs specified process and sends email notification with program's output if exit code was not zero (Windows only)

Usage: task_sendmail.exe [--verbose] --config PATH_TO_CONFIG.ini PROGRAM_TO_RUN [arguments]

Config file should be in the format of .ini file, example:

[smtp]
enabled = true
host = smtp.gmail.com
port = 465
user = [email protected]
password = some-pass
StartTLS = true
from = [email protected]
to = [email protected]

[file]
enabled = true
dir = C:\my\dir

NOTE: task_sendmail supports only unencrypted SMTP connections or SMTP with StartTLS. See https://sendgrid.com/blog/what-is-starttls for explanation

About

Runs specified process and sends email notification with programs's output if exit code was not zero (Windows)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages