Java tutorial
import java.awt.Desktop; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; public class Main { public static void main(String[] a) throws URISyntaxException { try { Desktop desktop = null; if (Desktop.isDesktopSupported()) { desktop = Desktop.getDesktop(); } desktop.mail(new URI("name@address.net")); } catch (IOException ioe) { ioe.printStackTrace(); } } }