Posted On March 31, 2019

Sendmail Batch File

kimconnect 2 comments
blog.KimConnect.com >> Codes , Windows >> Sendmail Batch File
1. Download:
2. Place it in C:\Windows\System32
 
sendmail.bat
—————————
senditquiet.exe -s smtp.gmail.com -port 587 -u [email protected] -protocol ssl -p password -f [email protected] -t [email protected];[email protected] -subject “Web01 Server Logged Trigger” -body “Yo Dude,<br><strong>Email Server Service Needs Attention</strong>.<br> Thank you.” -files c:\file1.zip;c:\file2.zip
—————————
 
Alternative 1: FEBOOTIMAIL :-)

FEBOOTIMAIL.EXE -SMTP 1.1.1.1 -FROM [email protected] -TO [email protected] -CC [email protected] -SUBJECT ERROR LOG -TEXT THIS IS THE VISIBAR ERROR LOG -ATTACH M:\MFGSYS\RCVR.OLD -attach "C:\VisiBar AppData\Production\visibar.old"

2 thoughts on “Sendmail Batch File”

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Setup LAMP using RedHat 7

// Add a new user and set it with root privileges: sudo su useradd {root-user}…

Basic JavaScript: Manipulate Arrays With unshift()

// Setupvar myArray = [["John", 23], ["dog", 3]];myArray.shift();// Only change code below this line.myArray.unshift( ["Paul",35]);

PowerShell: Windows Get-EventLog vs Get-WinEvent

Get-Eventlog is the legacy Windows log querying command. Its advanced filtering is limited. Whereas Get-WinEvent,…