Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50526
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 20 Jan 2011 19:05:38 +0000 (19:05 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 20 Jan 2011 19:05:38 +0000 (19:05 +0000)
Additional JavaMail docs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1061461 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/changelog.xml
webapps/docs/jndi-resources-howto.xml

index 613a950..bdab655 100644 (file)
         the default cluster membership. (markt)
       </fix>
       <fix>
+        <bug>50526</bug>: Provide additional documetation on configuring
+        JavaMail resources. (markt)
+      </fix>
+      <fix>
         <bug>50599</bug>: Use correct names of roles required to access the 
         Manager application. (markt)
       </fix>
index d0ad4cb..91aa487 100644 (file)
@@ -492,6 +492,14 @@ Transport.send(message);
     Customize the value of the <code>mail.smtp.host</code> parameter to
     point at the server that provides SMTP service for your network.</p>
 
+    <p>Additional resource attributes and values will be converted to properties
+    and values and passed to
+    <code>javax.mail.Session.getInstance(java.util.Properties)</code> as part of
+    the <code>java.util.Properties</code> collection. In addition to the
+    properties defined in Annex A of the JavaMail specification, individual
+    providers may also support additional properties like <code>password</code>.
+    </p>
+
     <h3>4.  Install the JavaMail libraries</h3>
 
     <p><a href="http://www.oracle.com/technetwork/java/index-138643.html">