jammer20002
10-10-2004, 08:26 PM
I need a 'simple' script to to send a file as an attachment.
I want the user to fill in their details, click on a browse button, choose a file and then click submit.
I want this to send an email with the chosen file as an attachment from the user.
I've seen loooads of scripts to upload files to the web server.
But I don't need it to do this - all I need is for the file to be sent with the email.
(OR is it necessary for the file to be uploaded before it can be sent as an attachment?)
I've tried searching and searching...
I've managed to get a few scripts to work and get files uploaded to the server.
But... I can't find anything that will send an email.
(Well... at least... I mean to say I've found a few scripts... but they seem to be overly complex AND they don't work on my hosting... most often because they refer to paths that don't exist on my hosting.)
(I've got the latest ASP and ASP.net for my hostimg.)
Any help/pointers would be really appreciated.
Thanks.
Jam
I want the user to fill in their details, click on a browse button, choose a file and then click submit.
I want this to send an email with the chosen file as an attachment from the user.
I've seen loooads of scripts to upload files to the web server.
But I don't need it to do this - all I need is for the file to be sent with the email.
(OR is it necessary for the file to be uploaded before it can be sent as an attachment?)
I've tried searching and searching...
I've managed to get a few scripts to work and get files uploaded to the server.
But... I can't find anything that will send an email.
(Well... at least... I mean to say I've found a few scripts... but they seem to be overly complex AND they don't work on my hosting... most often because they refer to paths that don't exist on my hosting.)
(I've got the latest ASP and ASP.net for my hostimg.)
Any help/pointers would be really appreciated.
Thanks.
Jam