Jump to content

Send E-Mail To Someone


goddameit

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   3
  • Joined:  04/02/12
  • Last Seen:  

the master of scripts....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  6
  • Reputation:   2
  • Joined:  03/23/12
  • Last Seen:  

nice

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  11/29/11
  • Last Seen:  

Amazing. Great job as always.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   9
  • Joined:  04/16/12
  • Last Seen:  

awesome

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

Good job!

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  251
  • Reputation:   20
  • Joined:  12/22/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

art of scripting :)

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

already posted on #1.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  251
  • Reputation:   20
  • Joined:  12/22/11
  • Last Seen:  

where to put E-mail System.txt?

hehe my bad . it source code :D

Edited by java
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  251
  • Reputation:   20
  • Joined:  12/22/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  148
  • Topics Per Day:  0.03
  • Content Count:  299
  • Reputation:   6
  • Joined:  06/14/12
  • Last Seen:  

where in src do I need to put the E-mail System.txt?, or do I need to create a new blank source file?

Edited by zmref
Link to comment
Share on other sites

  • 5 months later...

  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

can u make video tutorial to install this script?o_oa...

from

Set :

Open sendemail.vbs (with txt), write your mail account into Const fromEmail

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

How to use on linux server? Work?

no, you can't
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  9
  • Reputation:   2
  • Joined:  01/26/13
  • Last Seen:  

The body of e-mail is not able to receive a new line.  :(

  • Upvote 1
Link to comment
Share on other sites

  • 11 months later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

goddameit

This src act great, but how to add newline in body?  :huh:

I try add \n \r already but fail at end.

Link to comment
Share on other sites

  • 5 years later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  08/22/16
  • Last Seen:  

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";

 

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.

×
×
  • Create New...