org.apache.naming.factory.SendMailFactory Factory class that creates a JNDI named javamail MimePartDataSource object which can be used for sending email using SMTP. <p> Can be configured in the DefaultContext or Context scope of your server.xml configuration file. <p> Example: <p> <pre> <Resource name="mail/ ...