railo.runtime.net.mail
Interface Server
- All Known Implementing Classes:
- ServerImpl
public interface Server
DTO of a single Mailserver
DEFAULT_PORT
static final int DEFAULT_PORT
- See Also:
- Constant Field Values
getPassword
String getPassword()
- Returns:
- Returns the password.
getPort
int getPort()
- Returns:
- Returns the port.
getHostName
String getHostName()
- Returns:
- Returns the server.
getUsername
String getUsername()
- Returns:
- Returns the username.
hasAuthentication
boolean hasAuthentication()
- Returns:
- if has a authenatication or not
cloneReadOnly
Server cloneReadOnly()
- Returns:
- clone the DataSource as ReadOnly
isReadOnly
boolean isReadOnly()
- Returns:
- Returns the readOnly.
verify
boolean verify()
throws SMTPException
- verify the server properties
- Returns:
- is ok
- Throws:
SMTPException
isTLS
boolean isTLS()
- Returns:
- is tls
isSSL
boolean isSSL()
- Returns:
- is ssl
Copyright © 2012 Railo