From c0dd688510839fb3e00b6d7c7cccdb78160d627e Mon Sep 17 00:00:00 2001
From: Houssam El Mansouri Jakarta Mail in servlets
-Jakarta Mail in applets
-
+Note: As of this version, applet-related documentation has been removed. +Java applets were deprecated in Java SE 9 and removed in Java SE 11. +Modern Jakarta Mail applications should use server-side components such as +servlets, web applications, or standalone Java applications. +
+
Q: How do I get an implementation of the Jakarta Mail API?
@@ -508,11 +502,7 @@
Q: Do the Jakarta Mail APIs work in web browsers?
-A: Jakarta Mail will work in any browser that supports the
-required JDK version.
-The
-Java Plug-in may be required to provide such support.
+A: Jakarta Mail is a server-side Java API and is not designed to run directly in web browsers. For web-based email functionality, use Jakarta Mail in server-side components such as servlets, JSP pages, or web applications that run on a Java application server.
@@ -3460,40 +3450,6 @@
-
-Q: Can I use Jakarta Mail in applets?
-
-
-A:
-Yes, Jakarta Mail will work in applets in browsers that support the
-required JDK version.
-The
-Java Plug-in may be required to provide such support.
-
-
-Q: What are the security implications of using Jakarta Mail in an applet?
-
-
-A: One of the biggest
-issues with using Jakarta Mail in applets is the default applet security
-restrictions. These restrictions only allow applets to connect to the
-host from which they were loaded. Thus, for such applets to use Jakarta Mail,
-the mail server will need to be located on the same machine as the web
-server from which the applet is loaded. You can find more information
-on the applet security model
-
-here.
-
Q: Ok, maybe I really don't want to use an applet, what should I