Click to See Complete Forum and Search --> : Attachment


ulfnil
06-07-2004, 02:07 AM
Hi,
I'm a new user, so I hope this is the right forum.

I use hta to create forms. When a user clicks on a button, the answers are saved into a txt-file. How can this txt-file be attached to a mail automatically when a user clicks on a send-button?


/ Ulf

IncaWarrior
06-07-2004, 05:12 PM
what language are you using to send the email?

ulfnil
06-09-2004, 08:14 AM
I have not written any script for mailing. If you show me how, I will use that language.
/ Ulf

IncaWarrior
06-09-2004, 01:55 PM
what languages does your server support?

ulfnil
06-10-2004, 01:16 AM
The whole idea is to have a user fill out a form without being connected all the time to Internet.

I plan to use the hta-files as stand-alone, that is relay on what the user has on his computer - no direct contact with a server.

My scenario is as follows:
A: User downloads the hta-file / the file is mailed to the user
B: User fills the hta-file out
C: User saves the answers to a txt-file (by clicking a button)
D: User mails the txt-file back to me

Comments to:
A: Since Outlook doesn’t like hta-files, the files have to be zipped.
A – C: I have managed to do this.
D: Not finished yet! If a user can click on a button, a script starts user’s e-mail program, makes the txt-file as an attachment automatically, it would be of a great service to the user. If this can be done, the user does not have to be very good at computing.