Skip to content

Commit 0e743ae

Browse files
committed
#85 Documented the Java API for overriding session timeout
1 parent ddae96e commit 0e743ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/webapp/src/app/components/configuration/configuration.html

+4
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ <h3>Other settings</h3>
131131
</code></pre>
132132
<pre><code>// change the pool size (default 10) for concurrent threads, each sending an email
133133
mailer.setThreadPoolSize(3);
134+
</code></pre>
135+
<pre><code>// change the session timeout (affects socket connect-, read- and write timeouts)
136+
mailer.setThreadPoolSize(3);
134137
</code></pre>
135138
</div>
136139
</section>
@@ -205,6 +208,7 @@ <h3>Available properties</h3>
205208
simplejavamail.defaults.bcc.name=
206209
207210
simplejavamail.defaults.poolsize=10
211+
simplejavamail.defaults.sessiontimeoutmillis=60000
208212
simplejavamail.transport.mode.logging.only=true
209213
</code></pre>
210214
</div>

0 commit comments

Comments
 (0)