View Full Version : Sending Exe File via E-mail
RobertL
04-24-2004, 06:25 AM
I was wondering if this is possible: I want to create an AMS application (self-contained Windows exe) which allows users to enter information into the SQLite database. One of the fields in that database would be e-mail addresses. Is it possible for the application to "mail itself", with the database, to the e-mail addresses that the current user has just entered? Thanks very much.
First, I thought of PHP or .BAT files, both doable, but perhaps the most elegant way would be to dynamically write and execute an email link. I can’t think off the top of my head, the correct HTML syntax for adding an attachment to an email, but I know that there is a proper syntax. Maybe someone else knows.
With AMS5, you can even zip up your attachment on send, and unzip it on receive.
RobertL
04-24-2004, 12:11 PM
Thanks very much, Jim.
So, if I dynamically create the email link, are you saying there's an action within AMS that will execute it? (As you can tell, I'm not yet a user, currently only evaluating it.)
Also, do you know if the SQLite database is a separate file, or is it embedded into the EXE file?
Again Jim, thanks very much for your time- I really appreciate it.
First, I thought of PHP or .BAT files, both doable, but perhaps the most elegant way would be to dynamically write and execute an email link. I can’t think off the top of my head, the correct HTML syntax for adding an attachment to an email, but I know that there is a proper syntax. Maybe someone else knows.
With AMS5, you can even zip up your attachment on send, and unzip it on receive.
eric_darling
04-24-2004, 05:21 PM
You can always use the built-in ZIP functionality in AMS to send a compressed version via e-mail.
Brett
04-26-2004, 10:30 AM
Another good way would be to setup an FTP server and then use the FTP plugin to upload the files that you want...
RobertL
04-27-2004, 06:17 AM
Thank you all very much for your help- very much appreciated.
Thank you all very much for your help- very much appreciated.
I guess I'll chime in here. The SMTP Send DLL on autorun.org does not allow attachments. I suppose you could encode them and send them as text, but the traditional attachment is not allowed.
When I wrote it, it seemed to be to handy of thing for someone to possibly send an email off my machine with attachments without me ever knowing. With that in mind, I decided against attachments.
Lorne
05-03-2004, 09:55 AM
You could also Base64 encode the file using the Crypto plugin and include it in the email as text. (If you do a bit of research you might even write the header fields so it would be seen as an attachment.)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.