Hi,all Can anybody help me? I want to put a button on the JSP page, when click it, we can open up the default email application (e.g. Outlook) and automatically attach a specific file to it, and then we can manually input the receiver and some content to send the email to somebody. I don't know it is possible, if can, what should I do? Any response will be much appreciated. Seagle
hmmm.. If this is an intranet app and you can guarantee all users have Outlook: is there a file extension which is recognized as an Outlook file? Maybe by constructing this file on-the-fly and shooting it to the browser it will launch outlook with the content you prefilled it with. This is an idea. I've never tried this in practice. Other option would be to do the email construction (and sending) all on the app server. Provide a message box for the user's data entry (reply address, comments, attached files, etc.) and then use JavaMail to send it maybe ccing the originator so it gets back to the client's Outlook. Please post what you do end up doing. I'll be curious.
Hi yang, Actually u can open the outlook express and put the subject and sent to address simply by using the mailto tag which u can use in the href tag on a link or a button.