Jump to content

Recommended Posts

Posted (edited)

Send an e-mail to hotmail



Send an e-mail to gmail with a attachment
QgcLL.png

e-mail system logs file (time,operator,receiver,subject,body)
BoaXF.png

Download Source Code :
email.patch
E-Mail System.txt

Download VBScript (Must put into your server program folder) :
sendemail.zip

Set :
Open sendemail.vbs (with txt), write your mail account into Const fromEmail
and password into Const password.
If your e-mail server is gmail (Google), you will not not need to do anything after that.
if not, you have to search that server stmp and port.

Script Sample :
email "receiver","subject","body","attachment";
input .@a$;
input .@s$;
input .@b$;
mes "To:"+.@a$;
mes "Subject:"+.@s$;
mes "Body:"+.@b$;
select("OK");
//set .@att$,"D:/eAthena/UpgradeLog.XML"; //attachment
email .@a$,.@s$,.@b$,.@att$;
close;

 

 


PS :
Testing \ Works in Windows7 OS.

Warning :
If this lead to SPAM, CRASH or ANYTHING BAD, I will not help you and be responsible for it.
So checking all before using it.

Edited by goddameit
  • Upvote 8
  • 1 month later...
Posted (edited)

art of scripting :)

but it would be nice if sombody make an example of this NPC .. since im too bad at scripting :D

Edited by java
Posted (edited)

where to put E-mail System.txt?

is ur script need something like >>>> payon,149,230,5 script sodom 108,{

payon,149,230,5 script email 108,{
email "receiver","subject","body","attachment";
input .@a$;
input .@s$;
input .@b$;
mes "To:"+.@a$;
mes "Subject:"+.@s$;
mes "Body:"+.@b$;
select("OK");
//set .@att$,"D:/eAthena/UpgradeLog.XML"; //attachment
email .@a$,.@s$+"[No."+.@i+"]",.@b$+"[No."+.@i+"]",.@att$;
close;

if i run ur script so many error ..

I don't.

one of your problem is very not my business

** Define an NPC object.

<map name>,<x>,<y>,<facing>%TAB%script%TAB%<NPC Name>%TAB%<sprite id>,{<code>}

Edited by goddameit
Posted

where to put E-mail System.txt?

is ur script need something like >>>> payon,149,230,5 script sodom 108,{

payon,149,230,5 script email 108,{
email "receiver","subject","body","attachment";
input .@a$;
input .@s$;
input .@b$;
mes "To:"+.@a$;
mes "Subject:"+.@s$;
mes "Body:"+.@b$;
select("OK");
//set .@att$,"D:/eAthena/UpgradeLog.XML"; //attachment
email .@a$,.@s$+"[No."+.@i+"]",.@b$+"[No."+.@i+"]",.@att$;
close;

if i run ur script so many error ..

I don't.

one of your problem is very not my business

** Define an NPC object.

<map name>,<x>,<y>,<facing>%TAB%script%TAB%<NPC Name>%TAB%<sprite id>,{<code>}

owh ty :) it's work now

  • 1 month later...
  • 5 months later...
  • 1 month later...
  • 11 months later...
  • 5 years later...
Posted

Could you advise me to attach files?Since I do all the steps as shown in the example and nothing happens, just sent the mail but without attachments. PD: My operating system is Windows 10

Example: 

set .@att$,"C:/DocumentRO/log.txt";

 

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