railo.runtime.net.mail
Interface Server

All Known Implementing Classes:
ServerImpl

public interface Server

DTO of a single Mailserver


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

Field Detail

DEFAULT_PORT

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

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