Launches the mail composing window of the user default mail
client, filling the message fields specified by a
mailto:
URI.
A mailto:
URI can specify message fields
including "to", "cc", "subject",
"body", etc. See The mailto URL
scheme (RFC 2368) for the mailto:
URI specification
details.
mailtoURI | the specified mailto: URI |
NullPointerException | if the specified URI is
null | |
IllegalArgumentException | if the URI scheme is not
"mailto" | |
UnsupportedOperationException | if the current platform
does not support the Desktop.Action.MAIL action | |
IOException | if the user default mail client is not found or fails to be launched | |
SecurityException | if a security manager exists and it
denies the
AWTPermission("showWindowWithoutWarningBanner")
permission, or the calling thread is not allowed to create a
subprocess |
java.net.URI, java.awt.AWTPermission
Diagram: Desktop etc