1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
package com.atlassian.mail.server; |
12 |
|
|
13 |
|
import com.atlassian.mail.Email; |
14 |
|
import com.atlassian.mail.MailException; |
15 |
|
|
16 |
|
import java.io.PrintStream; |
17 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
18 |
|
public interface SMTPMailServer extends MailServer |
19 |
|
{ |
20 |
|
String DEFAULT_SMTP_PORT = "25"; |
21 |
|
|
22 |
|
String getDefaultFrom(); |
23 |
|
|
24 |
|
void setDefaultFrom(String from); |
25 |
|
|
26 |
|
String getPrefix(); |
27 |
|
|
28 |
|
void setPrefix(String prefix); |
29 |
|
|
30 |
|
boolean isSessionServer(); |
31 |
|
|
32 |
|
void setSessionServer(boolean sessionServer); |
33 |
|
|
34 |
|
String getJndiLocation(); |
35 |
|
|
36 |
|
void setJndiLocation(String jndiLocation); |
37 |
|
|
38 |
|
public boolean isRemovePrecedence(); |
39 |
|
|
40 |
|
public void setRemovePrecedence(boolean precedence); |
41 |
|
|
42 |
|
void send(Email email) throws MailException; |
43 |
|
|
44 |
|
void quietSend(Email email) throws MailException; |
45 |
|
|
46 |
|
String getSmtpPort(); |
47 |
|
|
48 |
|
void setSmtpPort(String smtpPort); |
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
@param |
54 |
|
|
55 |
|
void setDebug(boolean debug); |
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
@param |
60 |
|
|
61 |
|
void setDebugStream(PrintStream debugStream); |
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
boolean getDebug(); |
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
PrintStream getDebugStream(); |
72 |
|
} |