How do I use JavaMail in an application run under a SecurityManager; what permissions must I grant to the application and to JavaMail?
When using JavaMail in an environment with a SecurityManager, JavaMail will sometimes fail to read the configuration files in the mail.jar file. The JavaBeans Activation Framework may have the same problem reading configuration files from the activation.jar file. These default configuration files are stored as “resource” files in the META-INF directory in the jar file.