Browse harddrive button

  • Thread starter Thread starter Paul C
  • Start date Start date
P

Paul C

Hi
I have a form to email script using jmail.I would like the user to be able
to attach a file. This can be done using the JMail.AddAttachment " "
method. What I would like to happen is the user to click on a browse
button and then be able to search there harddrive for the file click ok and
the file name be inserted into a the Jmail.Addattachment field and then
emailed when the script is sent.
anyone know how to do this?
Thanks
Paul M
 
You have to read the instructions that come with JMail on how to set this up. You may also need to
contact your web host regarding the setting of user and file/folder permissions that may be need by
JMail.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
Thanks Thomas
I can insert the file path manually into the form field but what I hoped to
do was to have a browse button so the user can navigate to the file on there
harddrive a bit like the browse button on the test page link below, but
not upload the file to a server just attach and send the file via email. I
thought it might be some kind of javascript function.
Paul M
 
Sorry the link
http://www.freeaspupload.net/

Thomas A. Rowe said:
You have to read the instructions that come with JMail on how to set this
up. You may also need to contact your web host regarding the setting of
user and file/folder permissions that may be need by JMail.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
The file must be uploaded to a location on the server first, then some ASP code can be used to
attach it to an email to you.

You can not use server-side script to grab and send the file in one step directly from a user HD to
your email.

Consider using the script to upload the file to a folder, assigning the file a unique name (so that
files are not overwritten, etc.) then send you an email with a link to download the file in your
email.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
Thanks Thomas
Sounds complicated
Paul M

Thomas A. Rowe said:
The file must be uploaded to a location on the server first, then some ASP
code can be used to attach it to an email to you.

You can not use server-side script to grab and send the file in one step
directly from a user HD to your email.

Consider using the script to upload the file to a folder, assigning the
file a unique name (so that files are not overwritten, etc.) then send you
an email with a link to download the file in your email.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
Back
Top