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