com.icegreen.greenmail.util
Class ServerSetup
java.lang.Object
com.icegreen.greenmail.util.ServerSetup
public class ServerSetup
- extends Object
Defines the default ports
smtp | 25 |
smtps | 465 |
pop3 | 110 |
pop3s | 995 |
imap | 143 |
imaps | 993 |
Use ServerSetupTest
for non-default ports
- Since:
- Jan 28, 2006
Use
ServerSetupTest
for non-default ports
- Version:
- $Id: $
- Author:
- Wael Chatila
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROTOCOL_SMTP
public static final String PROTOCOL_SMTP
- See Also:
- Constant Field Values
PROTOCOL_SMTPS
public static final String PROTOCOL_SMTPS
- See Also:
- Constant Field Values
PROTOCOL_POP3
public static final String PROTOCOL_POP3
- See Also:
- Constant Field Values
PROTOCOL_POP3S
public static final String PROTOCOL_POP3S
- See Also:
- Constant Field Values
PROTOCOL_IMAP
public static final String PROTOCOL_IMAP
- See Also:
- Constant Field Values
PROTOCOL_IMAPS
public static final String PROTOCOL_IMAPS
- See Also:
- Constant Field Values
SMTP
public static final ServerSetup SMTP
SMTPS
public static final ServerSetup SMTPS
POP3
public static final ServerSetup POP3
POP3S
public static final ServerSetup POP3S
IMAP
public static final ServerSetup IMAP
IMAPS
public static final ServerSetup IMAPS
SMTP_POP3
public static final ServerSetup[] SMTP_POP3
SMTP_IMAP
public static final ServerSetup[] SMTP_IMAP
SMTP_POP3_IMAP
public static final ServerSetup[] SMTP_POP3_IMAP
SMTPS_POP3S
public static final ServerSetup[] SMTPS_POP3S
SMTPS_POP3S_IMAPS
public static final ServerSetup[] SMTPS_POP3S_IMAPS
SMTPS_IMAPS
public static final ServerSetup[] SMTPS_IMAPS
ALL
public static final ServerSetup[] ALL
ServerSetup
public ServerSetup(int port,
String bindAddress,
String protocol)
isSecure
public boolean isSecure()
getProtocol
public String getProtocol()
getBindAddress
public String getBindAddress()
getPort
public int getPort()