Link to home
Start Free TrialLog in
Avatar of sniles
sniles

asked on

form of mailto (or other) to bring up file window

I want to have a button or link on a page that, when pressed, allows the user to select a file to be emailed to a target user.  It needs to be insensitive to the mail client program that the user has.  Is there a way to do this?

I currently just have a mailto href, and instructions for clicking file->attach (generically) when the mail interface opens, but I would like to have the user presented with the file selection dialog as soon as he clicks the link.
Avatar of jbirk
jbirk

I don't think that this is possible.  What you may be able to do is create a form which includes an input type=file and then sends that file to a cgi program which opens a mail client and attaches to it the file that was sent to it.  Unfortunately I have no idea how to do that, only that it may be possible depending on the e-mail client and on whether you have cgi access and the ability to program a cgi program that receives a file.

Good luck!
-Josh
ASKER CERTIFIED SOLUTION
Avatar of alweiner
alweiner

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sniles

ASKER

The platform is windows 95/98/NT in a custom (no cgi) web server environment. I was hoping to just use client-side features and not get the server involved.... sounds like I'll just have to create the functionality in the server.