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

Quick PowerShell Cmdlet to Move Computer Object

$computername='SomeComputerName' $targetOU='OU=Computers,DC=kimconnect,DC=com' Move-ADObject -Identity (Get-ADComputer $computername).objectguid -TargetPath $targetOU

Remediate IE Vulnerabilities

<# PowerShell Script to Secure Internet Explorer & Memory Operations reg add "HKLM\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_ENABLE_PRINT_INFO_DISCLOSURE_FIX" /v…

Basic JavaScript: Manipulate Arrays With unshift()

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