https://github.com/zelon88/sendmail_lite
A simple Windows Powershell script for sending automated emails from scripts or programs via command line arguments.
https://github.com/zelon88/sendmail_lite
admin-tools administration automation cli command-line command-line-tool email email-sender powershell-script ps1 sendmail sendmail-lite smtp
Last synced: 7 months ago
JSON representation
A simple Windows Powershell script for sending automated emails from scripts or programs via command line arguments.
- Host: GitHub
- URL: https://github.com/zelon88/sendmail_lite
- Owner: zelon88
- License: gpl-3.0
- Created: 2020-03-04T15:31:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T20:51:58.000Z (over 5 years ago)
- Last Synced: 2025-02-10T03:24:44.624Z (about 1 year ago)
- Topics: admin-tools, administration, automation, cli, command-line, command-line-tool, email, email-sender, powershell-script, ps1, sendmail, sendmail-lite, smtp
- Language: PowerShell
- Homepage: https://www.HonestRepair.net
- Size: 96.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sendmail_Lite
A simple Windows Powershell script for sending automated emails from scripts or programs via command line arguments.


NAME: Sendmail_Lite.ps1
TYPE: Powershell Script
PRIMARY LANGUAGE: Powershell
AUTHOR: Justin Grimes
ORIGINAL VERSION DATE: 3/2/2020
CURRENT VERSION DATE: 6/22/2020
VERSION: v0.9
DESCRIPTION:
A simple script for sending automated emails from scripts or programs via command line arguments.
PURPOSE:
To send emails programatically. Such as notification or warning emails from automated scripts or tasks.
INSTALLATION INSTRUCTIONS:
1. Open the Sendmail_Lite.ps1 script with a text editor and modify the variables at the start of the script to match your environment.
2. Call this script using Powershell with the proper arrangement of command line arguments.
1st Argument (Required) - From Email Address (String)"
2nd Argument (Required) - To Email Address (String)"
3rd Argument (Required) - Subject (String)"
4th Argument (Required) - Body (String)"
5th Argument (Optional) - Debug Mode (d, -d, /d, debug)"
NOTES:
This script DOES NOT support SMTPS over port 587.