Original Post
🔒 Locked
[java] Java mailto implementation
Advertisement
You could possibly use some Java to javascript integration technology to solve that problem. I have done similar things long ago with Netscape''s LiveConnect, but that may be outdated.
Another way would be to have the applet open a HTTP connection to the webserver and post the encrypted data in the same way as you would post a form to a server-side script that handles the actual mailing. In other words, you write some code that simulates the GET or POST method that the browser uses to post form data and you install some kind of formmailer script on your homepage (make sure to secure the script so it can not easily be used to send spam though). This may be the simplest solution since simulating a GET query just require that you send a few lines of text over the HTTP connection''s output stream.
Another way would be to have the applet open a HTTP connection to the webserver and post the encrypted data in the same way as you would post a form to a server-side script that handles the actual mailing. In other words, you write some code that simulates the GET or POST method that the browser uses to post form data and you install some kind of formmailer script on your homepage (make sure to secure the script so it can not easily be used to send spam though). This may be the simplest solution since simulating a GET query just require that you send a few lines of text over the HTTP connection''s output stream.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement