philo Posted May 28, 2005 Posted May 28, 2005 Hi Does somebody now a script where a messagebox pup-up where you can type you @mail end then store it in a text file. Anybody got a Thanks Auto It Ruels
PerryRaptor Posted May 28, 2005 Posted May 28, 2005 FileOpen(), InputBox(), FileWriteLine(), FileClose()
themax90 Posted May 29, 2005 Posted May 29, 2005 No script has been personally made but I suggest things such as Oracle DB or MySQL DataBase. Both are fairly simple to operate and a database entry and lookup script could be quite easy to make using Main Child I/O grabbing scripts and a comfortable GUI. I can't locate the I/O scripts but with some searching and tiome you could. AutoIt Smith
philo Posted June 2, 2005 Author Posted June 2, 2005 I have this But i need some help $file = FileOpen("Mail.txt", 1) InputBox("Database", "Enter your E-mail.", "", "") FileWriteLine($file, "line1") I want it to write the E-mail but how?? Thanks Headshot Auto It Ruels
Blue_Drache Posted June 2, 2005 Posted June 2, 2005 I have this But i need some help$file = FileOpen("Mail.txt", 1) InputBox("Database", "Enter your E-mail.", "", "") FileWriteLine($file, "line1")I want it to write the E-mail but how??Thanks Headshot<{POST_SNAPBACK}>MySQL is a wondeful database that will suit your needs. You can even use DLLCall() to interface with libmysqld.lib Dynamic library for threaded applications.mysqldemb.lib Static library for not threaded applications.As far as mailing something, that could be accomplished with embedding a freeware e-mail program or some sort of SMTP Library. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
philo Posted June 2, 2005 Author Posted June 2, 2005 MySQL is a wondeful database that will suit your needs. You can even use DLLCall() to interface with As far as mailing something, that could be accomplished with embedding a freeware e-mail program or some sort of SMTP Library.<{POST_SNAPBACK}>!!I just need help to end this script without MySQL!! Auto It Ruels
vbMark Posted June 2, 2005 Posted June 2, 2005 Hi Does somebody now a script where a messagebox pup-up where you can type you @mail end then store it in a text file.Anybody got a Thanks<{POST_SNAPBACK}>$file = FileOpen("Mail.txt", 1)$answer = InputBox("Database", "Enter your E-mail.", "", "")FileWriteLine($file, $answer)
philo Posted June 2, 2005 Author Posted June 2, 2005 $file = FileOpen("Mail.txt", 1)$answer = InputBox("Database", "Enter your E-mail.", "", "")FileWriteLine($file, $answer)<{POST_SNAPBACK}>Thanks Man Auto It Ruels
philo Posted June 2, 2005 Author Posted June 2, 2005 One Thing How can i make it loop. So it wont exit? Auto It Ruels
Blue_Drache Posted June 2, 2005 Posted June 2, 2005 (edited) One Thing How can i make it loop.So it wont exit?<{POST_SNAPBACK}>$file = FileOpen("Mail.txt", 1) While 1 $answer = InputBox("Database", "Enter your E-mail.", "", "") If @error = 1 then ExitLoop; Cancel was pressed FileWriteLine($file, $answer) WEnd FileClose($file) Edited June 2, 2005 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
philo Posted June 2, 2005 Author Posted June 2, 2005 $file = FileOpen("Mail.txt", 1) While 1 $answer = InputBox("Database", "Enter your E-mail.", "", "") If @error = 1 then ExitLoop; Cancel was pressed FileWriteLine($file, $answer) WEnd FileClose($file)<{POST_SNAPBACK}>Thanks Auto It Ruels
philo Posted June 3, 2005 Author Posted June 3, 2005 One more thing If it is saved on the Mail.txt How can i send it to my website @-mail. So i get here on my E-mail.? Is there a Way? Thanks Auto It Ruels
Blue_Drache Posted June 3, 2005 Posted June 3, 2005 One more thingIf it is saved on the Mail.txtHow can i send it to my website @-mail.So i get here on my E-mail.?Is there a Way?Thanks<{POST_SNAPBACK}>You'll have to look up one of those "nifty freeware e-mailer daemon thingies" (technical term) and interface with that. Using a dos CMD box will work to, if the default mail program is configured on the particular machine you're running it from. Try "Start Mailto:email@host.com?subject=blah?body=message"In your cmd.exe and see what happens.As far as attaching the file? Hmm, that's a little more fun. You could monkey with a simulated human style script that inputs the keystrokes for attaching the file, inputs the filename, and then sends the e-mail. It's a kludge, but it will work. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
JSThePatriot Posted June 3, 2005 Posted June 3, 2005 Look into BMail.exe a small email tool that I am pretty sure you can include attachments. There are others as well. Just do a search for command line email programs. Then you can use AutoIt to interface with it. You could also search the scripts and scraps for email or command line email too because there have been several scripts made for different commandline programs. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
Blue_Drache Posted June 3, 2005 Posted June 3, 2005 (edited) Look into BMail.exe a small email tool that I am pretty sure you can include attachments. There are others as well.Just do a search for command line email programs. Then you can use AutoIt to interface with it.You could also search the scripts and scraps for email or command line email too because there have been several scripts made for different commandline programs.JS<{POST_SNAPBACK}>http://www.beyondlogic.org/solutions/cmdli...cmdlinemail.htmBmail is a free but lean command line SMTP mail sender. Don't get fooled into playing $$$ for huge executables. Bmail allows the user to automate the sending of email messages containing log files, data downloads or error messages on Win32 based computers. Together with the freeware utility mpack, you can also send MIME encoded attachments.The site gives examples of commandline code too.Don't be fooled, I searched several sites offering a product called "BMail" that were graphical user interfaces AND shareware, ranging from $65 to $99, talking e-mail clients (freeware, but over 14 MB), and others. The link above is the real deal, yo. Edited June 3, 2005 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
JSThePatriot Posted June 3, 2005 Posted June 3, 2005 The site gives examples of commandline code too.Don't be fooled, I searched several sites offering a product called "BMail" that were graphical user interfaces AND shareware, ranging from $65 to $99, talking e-mail clients (freeware, but over 14 MB), and others. The link above is the real deal, yo.<{POST_SNAPBACK}>Thank you Blue... I didnt think that there would be others. That is how I found it everytime. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now