Code: Select all
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
;debug = 7
;output = stunnel.log
client = yes
[pop3s]
accept = 995
connect = pop.gmail.com:995
[ssmtp]
accept = 465
connect = smtp.gmail.com:465
Code: Select all
"C:\Program Files\stunnel\stunnel.exe" -install
Code: Select all
Start-->All Programms --> stunnel --> stunnel Service Install
Code: Select all
blat.dll
blat.exe
Code: Select all
C:\Program Files\Dude\blat
Code: Select all
::
:: Send email notifications from Dude via Gmail
::
set blatdir=C:\Program Files\Dude\blat
set smtpsender=username@gmail.com
set smtpserver=127.0.0.1
set smtpport=465
set smtpuser=username
set smtppwd=*********
set mailto=username@gmail.com
::
::
"%blatdir%\blat.exe" -to %mailto% -f %smtpsender% -server %smtpserver% -port %smtpport% -u %smtpuser% -pw %smtppwd% -subject %1 -body %2
::
:: Uncomment for debug only (Comment previous line. Do not forget to return back after debugging!!!)
::
::"%blatdir%\blat.exe" -to %mailto% -f %smtpsender% -server %smtpserver% -port %smtpport% -u %smtpuser% -pw %smtppwd% -subject "Test subject" -body "Test body" -debug -log emailbtal.log
::
::pause
::
Code: Select all
"C:\Program Files\Dude\blat\emailblat.cmd" "Service [Probe.Name] on [Device.Name] is now [Service.Status]" "Service [Probe.Name] on [Device.Name] is now [Service.Status] ([Service.ProblemDescription])"