Mailto from application

I have a html document in my applicaion that has email addresses specified (e.g mailto:whoever@whereever.com). Does anyone know a way to launch the user's default mail client from an application not using JavaMail so that the user can send an email (i.e. the user selected email address appears in the 'mail to' field)?

[337 byte] By [trudiersvaer] at [2007-9-26 7:45:25]
# 1
Here is one 'platform dependent" way.Windows: [I tested on 2000]Runtime.exec("start mailto:whoever@whereever.com");
ashutosh at 2007-7-1 17:53:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
The solution would have to be platform dependent, of course, because not all platforms have the concept of "default mail client". And if my "default mail client" is an Internet mail service like hotmail.com, your program would have no way of finding that out.
DrClap at 2007-7-1 17:53:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Thanks for your suggestion. I am using windows NT, and I get the following error message when I try it...java.io.IOException: CreateProcess: Start mailto: error=2Any ideas?
trudiersvaer at 2007-7-1 17:53:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

Hi,

I used the JavaMail API in a feedback form usnig JSP.

All went well,but it has been discovered that if french accents (characters) are used in

the form weget an error message:

"This message uses a character set that is not supported by the Internet Service. To

view the original message content, open the attached message. If the text doesn't

display correctly, save the attachment to disk, and then open it using a viewer that

can display the original character set."

Does something extra have to be added the the Javamail or is it a server end problem.

Any ideas?

Thanks

Also

sarumii at 2007-7-1 17:53:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
TryRuntime.exec("start \"mailto:whoever@whereever.com\"");
janilxx at 2007-7-1 17:53:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
When you do that on my system, it runs Outlook Express, which is pointless because I don't have it configured to do e-mail. Might work for somebody else, though, but you might want to have the program ask first.
DrClap at 2007-7-1 17:53:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7
This will start the application that you would ve given as the Email program in your browser. So if you want to use some other application, changed the default settings
sunilkg at 2007-7-1 17:53:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...