You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sc...@apache.org on 2012/08/09 18:41:19 UTC
svn commit: r1371305 - in /tomcat/tc6.0.x/trunk/webapps/docs: changelog.xml
jndi-resources-howto.xml
Author: schultz
Date: Thu Aug 9 16:41:19 2012
New Revision: 1371305
URL: http://svn.apache.org/viewvc?rev=1371305&view=rev
Log:
CTR Documentation Patch
https://issues.apache.org/bugzilla/show_bug.cgi?id=53664
Minor JNDI Howto document enhancement concerning mail properties
Brings Tomcat 6.0.x documentation in-line with Tomcat 7.0.x wrt MailSession configuration.
Modified:
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml
Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=1371305&r1=1371304&r2=1371305&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Thu Aug 9 16:41:19 2012
@@ -307,6 +307,10 @@
<code>isVirtualWebappRelative</code> which are <code>true</code> or
<code>false</code>. (markt)
</fix>
+ <fix>
+ <bug>53664</bug>: Minor JNDI Howto document enhancement concerning mail
+ properties. Patch provided by Mark Eggers. (schultz)
+ </fix>
</changelog>
</subsection>
<subsection name="Other">
Modified: tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml?rev=1371305&r1=1371304&r2=1371305&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml Thu Aug 9 16:41:19 2012
@@ -492,6 +492,17 @@ 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.</p>
+
+ <p>Tomcat's resource factory provides a <code>password</code> property
+ which can be configured by adding <code>password="yourpassword"</code>
+ to the Resource definition.</p>
+
<h3>4. Install the JavaMail libraries</h3>
<p><a href="http://www.oracle.com/technetwork/java/index-138643.html">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org