railo.runtime.net.mail
Interface Server


public interface Server

DTO of a single Mailserver


Field Summary
static int DEFAULT_PORT
           
 
Method Summary
 Server cloneReadOnly()
           
 java.lang.String getHostName()
           
 java.lang.String getPassword()
           
 int getPort()
           
 java.lang.String getUsername()
           
 boolean hasAuthentication()
           
 boolean isReadOnly()
           
 boolean isSSL()
           
 boolean isTLS()
           
 boolean verify()
          verify the server properties
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values
Method Detail

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