This repository has been archived by the owner on Oct 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
configuration.html
40 lines (39 loc) · 1.85 KB
/
configuration.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Aspirin - embeddable java smtp server</title>
</head>
<body>
<span style="font-weight: bold;"><img alt="An Aspirin..."
src="pill.gif" style="width: 100px; height: 100px;"><big>Aspirin,
because sending mail shouldn't be a headache. </big><br>
<br>
Configuring Aspirin</span><br>
<div style="margin-left: 40px;">
<p>Aspirin can be configured three ways. You can set system preferences before it loads.
You can call the setters in org.masukomi.aspirin.code.Configuration. Or, you can do nothing and
accept the defaul settings. </p>
<p><b>Setting System Preferences</b><br/>
Aspirin uses the following system preferences:
</p>
<ul>
<li>aspirinRetryInterval - the number of milliseconds before a failed e-mail is retried. Default is 5 minutes</li>
<li>aspirinDeliverThreads - the number of delivery threads in the thread pool. Default is 3.</li>
<li>aspirinPostmaster - the e-mail address of the person to send bounce messages to.</li>
<li>aspirinMaxAttempts - the maximum number of times it will try and send a message if it has problems.</li>
</ul>
<p><b>Configuring via setter methods</b><br />
See the Javadocs in <tt>org.masukomi.aspirin.core.config.Configuration</tt>for details on this method. </p>
<p><b>Configuring via doing nothing</b><br />
See above for the default settings. </p>
<p><b>Configuring Aspirin's Logging</span><br>
Aspirin uses <a href="http://jakarta.apache.org/commons/logging/">Commons Logging</a>. Please see the "Configuration" section of the
Commons Logging <a href="http://jakarta.apache.org/commons/logging/guide.html">User Guide</a> for details.
</p>
<p><b>Classpath Requirements</b><br />
mail.jar and activation.jar must be added to the classpath. </p>
</div>
</body>
</html>