README.md

December 5, 2022 ยท View on GitHub

Send email from an applet

Description

Can I send an Email from an applet? Of Course you can just use the following! OR you could look at www.javasoft.com for Java mailAPI.

(Found on the web--Java FAQ at http://www.irt.org)

More Info

Submitted On
ByN/A
LevelUnknown
User Rating2.5 (5 globes from 2 users)
CompatibilityJava (JDK 1.1)
CategoryApplet
WorldJava
Archive File

Source Code

try {
  URL mail = new URL("MAILTO:YOU@HOME.ORG");
} catch (MalformedURLException e) {
  System.err.println("Invalid URL");
}
getAppletContext().showDocument(mail);