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

PowerShell: File Copying Operation

2/11/20 Update: Version 0.1.8 is available here: https://blog.kimconnect.com/powershell-file-copy-script-using-emcopy-vss-legacy/ Version 0.1.6 <#.Description File_Copy_Script Version: 0.16Purpose: this…

Arrays and Objects

Array.prototype- Allows additional properties of all array objectsArray.from- Creates a new array from an array-like…

PowerShell: Add User To Group in Active Directory

$userId='kimconnect' $groupName='Remote Desktop Users' function addUserToGroup($userId,$groupName){ $userExists=Get-ADGroupMember $groupName|?{$_.SamAccountName -eq $userId} if(!$userExists){ Add-ADGroupMember -Identity $groupName -Members…