INT-1417, updated documentation showing how 'javaMailProperties' could be provided
This commit is contained in:
@@ -113,7 +113,17 @@
|
||||
should-delete-messages="false"
|
||||
should-mark-messages-as-read="true"
|
||||
java-mail-properties="javaMailProperties"/>]]></programlisting>
|
||||
... where <emphasis>javaMailProperties</emphasis> could be provided by creating and populating
|
||||
a regular <classname>java.utils.Properties</classname> object. For example via <emphasis>util</emphasis> namespace
|
||||
provided by Spring.
|
||||
<programlisting language="xml"><![CDATA[<util:properties id="javaMailProperties">
|
||||
<prop key="mail.imap.socketFactory.class">javax.net.ssl.SSLSocketFactory</prop>
|
||||
<prop key="mail.imap.socketFactory.fallback">false</prop>
|
||||
<prop key="mail.store.protocol">imaps</prop>
|
||||
<prop key="mail.debug">false</prop>]]></programlisting>
|
||||
</util:properties>
|
||||
</para>
|
||||
|
||||
<note>When using <emphasis>should-mark-messages-as-read</emphasis> be aware of the protocol you are using ti retrieve messages. For example POP3 does not support this flag
|
||||
which means setting it to 'true' will have no effect.</note>
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user