|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.context.Configuration com.esri.gpt.framework.mail.MailConfiguration
public class MailConfiguration
Mail configuration information.
Constructor Summary | |
---|---|
MailConfiguration()
Default constructor. |
Method Summary | |
---|---|
String |
getEmailAddressRegexp()
Gets the regular expression used to validate an E-Mail address. |
String |
getIncomingToAddress()
Gets the to E-Mail address for incoming mail. |
String |
getOutgoingFromAddress()
Gets the from E-Mail address for outgoing mail. |
PasswordAuthentication |
getPasswordAuthentication()
Gets the credentials used for password authentication (SMPT_AUTH). |
String |
getSmtpHost()
Gets the SMTP host. |
int |
getSmtpPort()
Gets the SMTP port. |
MailRequest |
newInboundRequest()
Instantiates a new in-bound mail request The SMTP host and port are set, the to E-mail address is set. |
MailRequest |
newOutboundRequest()
Instantiates a new out-bound mail request The SMTP host and port are set, the to E-mail address is set. |
void |
put(String smtpHost,
String smtpPort,
String outgoingFromAddress,
String incomingToAddress)
Puts configuration values. |
void |
setEmailAddressRegexp(String regexp)
Sets the regular expression used to validate an E-Mail address. |
void |
setIncomingToAddress(String incomingToAddress)
Sets the to E-Mail address for incoming mail. |
void |
setOutgoingFromAddress(String outgoingFromAddress)
Sets the from E-Mail address for outgoing mail. |
void |
setPasswordAuthentication(PasswordAuthentication credentials)
Sets the credentials used for password authentication (SMPT_AUTH). |
void |
setSmtpHost(String smtpHost)
Sets the SMPT host. |
void |
setSmtpPort(int smtpPort)
Sets the SMTP port. |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MailConfiguration()
Method Detail |
---|
public String getEmailAddressRegexp()
public void setEmailAddressRegexp(String regexp)
regexp
- the address validation regular expressionpublic String getIncomingToAddress()
public void setIncomingToAddress(String incomingToAddress)
incomingToAddress
- the to address for incoming mailpublic String getOutgoingFromAddress()
public void setOutgoingFromAddress(String outgoingFromAddress)
outgoingFromAddress
- the from address for outgoing mailpublic PasswordAuthentication getPasswordAuthentication()
public void setPasswordAuthentication(PasswordAuthentication credentials)
credentials
- the credentials user for password authenticationpublic String getSmtpHost()
public void setSmtpHost(String smtpHost)
smtpHost
- the SMPT hostpublic int getSmtpPort()
public void setSmtpPort(int smtpPort)
smtpPort
- the SMTP portpublic MailRequest newInboundRequest()
public MailRequest newOutboundRequest()
public void put(String smtpHost, String smtpPort, String outgoingFromAddress, String incomingToAddress)
smtpPort
- the SMPT portsmtpHost
- the SMPT hostoutgoingFromAddress
- the from address for outgoing mailincomingToAddress
- the to address for incoming mailpublic String toString()
toString
in class Object
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |