mailto or JavaMail in stand-alone application?
Here is what I'm trying to do:
I wrote a small invitation application that asks for user
input. I have an 'RSVP' button that is supposed to
email the response back to my email address.
I've tried the following:
1) Runtime.getRuntime().exec("cmd /C mailto:name@what.com)
*This didn't work. I tried it within the cmd window and
get the following: "The system cannot find the path specified"
2) rundll32.exe url.dll,MailToProtocolHandler mailto:name@what.com
*This seemed to work except that: it took 13 seconds before the mail
message window popped up and I wasn't able to input the BODY and
SUBJECT of the message using standard windows format ($,&,%20,%0d,etc)
3) I've looked at JavaMail, but haven't figured out if it
can do what I desire.
Basically, I'm want to send this invitation to many recipients. I want those
recipients to open my application and RSVP whether or not they are going
to make it. Is there a way to do it THIS way?
Thanks
D

