org.idoox.transport.config
Interface MailConfig.Output

Enclosing interface:
MailConfig

public static interface MailConfig.Output

An output configuration.


Method Summary
 java.lang.String getFrom()
          Gets a sender address like server@idoox.com.
 java.lang.String getServer()
          Gets the output server URI like smtp://smtp.idoox.com.
 void setFrom(java.lang.String from)
          Sets a sender address.
 void setServer(java.lang.String uri)
          Sets the output server URI.
 

Method Detail

getServer

public java.lang.String getServer()
Gets the output server URI like smtp://smtp.idoox.com.

Returns:
the server URI

setServer

public void setServer(java.lang.String uri)
Sets the output server URI.

Parameters:
uri - the server URI

getFrom

public java.lang.String getFrom()
Gets a sender address like server@idoox.com.

Returns:
the sender address

setFrom

public void setFrom(java.lang.String from)
Sets a sender address.

Parameters:
from - the sender address