Hi!
I would like to create a contact form in a java applet for my webpage. The way I see it i could go two ways.
(1) Create the submission form in java which would call a php script to to use the sendmail thingy. or
(2) Do the whole thing in Java.

My preference would be (2), I could collect the data with a couple of textfields and a button, but I don't know the code to attach to the button to use the sendmail function on the server.

If I use (1), I don't know how to get the variables into the php script.
Thanks for your help!
Paul