goddameit Posted May 2, 2012 Posted May 2, 2012 (edited) Send an e-mail to hotmail Send an e-mail to gmail with a attachmente-mail system logs file (time,operator,receiver,subject,body)Download Source Code : email.patchE-Mail System.txtDownload VBScript (Must put into your server program folder) :sendemail.zipSet :Open sendemail.vbs (with txt), write your mail account into Const fromEmailand 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 April 26, 2013 by goddameit 8 Quote
java Posted June 12, 2012 Posted June 12, 2012 (edited) art of scripting but it would be nice if sombody make an example of this NPC .. since im too bad at scripting Edited June 13, 2012 by java Quote
goddameit Posted June 13, 2012 Author Posted June 13, 2012 art of scripting but it would be nice if sombody make an example of this NPC .. since im too bad at scripting already posted on #1. Quote
java Posted June 13, 2012 Posted June 13, 2012 (edited) where to put E-mail System.txt? hehe my bad . it source code Edited June 13, 2012 by java Quote
goddameit Posted June 13, 2012 Author Posted June 13, 2012 (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 June 13, 2012 by goddameit Quote
java Posted June 13, 2012 Posted June 13, 2012 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 Quote
zmref Posted July 20, 2012 Posted July 20, 2012 (edited) 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 July 20, 2012 by zmref Quote
kangfredy Posted January 18, 2013 Posted January 18, 2013 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 Quote
Pedro Brito Posted February 24, 2013 Posted February 24, 2013 How to use on linux server? Work? Quote
goddameit Posted February 24, 2013 Author Posted February 24, 2013 How to use on linux server? Work?no, you can't Quote
Start Posted February 24, 2013 Posted February 24, 2013 The body of e-mail is not able to receive a new line. 1 Quote
yuchinin Posted February 20, 2014 Posted February 20, 2014 goddameit This src act great, but how to add newline in body? I try add \n \r already but fail at end. Quote
Kambroz Posted January 2, 2020 Posted January 2, 2020 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"; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.