DelphiFAQ Home Search:
General :: Programming :: Java :: Applets


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Send an Email from a Java applet


How do I send an email from my java applet?


Here's an easy shortcut using the mailto: protocol handler. You can add arguments to the url using the subject and body field.

For full control, research the Java mailAPI.

try {
    URL mail = new URL("mailto: subject&body=my message text");
 catch (MalformedURLException e) {
   System.err.println("Invalid URL");

Generated 16:01:30 on Sep 29, 2020