public class ServerSetup
extends java.lang.Object
smtp | 25 |
smtps | 465 |
pop3 | 110 |
pop3s | 995 |
imap | 143 |
imaps | 993 |
ServerSetupTest
for non-default portsServerSetupTest
for non-default portsModifier and Type | Field and Description |
---|---|
static ServerSetup[] |
ALL |
static ServerSetup |
IMAP |
static ServerSetup |
IMAPS |
static ServerSetup |
POP3 |
static ServerSetup |
POP3S |
static java.lang.String |
PROTOCOL_IMAP |
static java.lang.String |
PROTOCOL_IMAPS |
static java.lang.String |
PROTOCOL_POP3 |
static java.lang.String |
PROTOCOL_POP3S |
static java.lang.String |
PROTOCOL_SMTP |
static java.lang.String |
PROTOCOL_SMTPS |
static ServerSetup |
SMTP |
static ServerSetup[] |
SMTP_IMAP |
static ServerSetup[] |
SMTP_POP3 |
static ServerSetup[] |
SMTP_POP3_IMAP |
static ServerSetup |
SMTPS |
static ServerSetup[] |
SMTPS_IMAPS |
static ServerSetup[] |
SMTPS_POP3S |
static ServerSetup[] |
SMTPS_POP3S_IMAPS |
Constructor and Description |
---|
ServerSetup(int port,
java.lang.String bindAddress,
java.lang.String protocol) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBindAddress() |
int |
getPort() |
java.lang.String |
getProtocol() |
boolean |
isSecure() |
public static final java.lang.String PROTOCOL_SMTP
public static final java.lang.String PROTOCOL_SMTPS
public static final java.lang.String PROTOCOL_POP3
public static final java.lang.String PROTOCOL_POP3S
public static final java.lang.String PROTOCOL_IMAP
public static final java.lang.String PROTOCOL_IMAPS
public static final ServerSetup SMTP
public static final ServerSetup SMTPS
public static final ServerSetup POP3
public static final ServerSetup POP3S
public static final ServerSetup IMAP
public static final ServerSetup IMAPS
public static final ServerSetup[] SMTP_POP3
public static final ServerSetup[] SMTP_IMAP
public static final ServerSetup[] SMTP_POP3_IMAP
public static final ServerSetup[] SMTPS_POP3S
public static final ServerSetup[] SMTPS_POP3S_IMAPS
public static final ServerSetup[] SMTPS_IMAPS
public static final ServerSetup[] ALL