public class MailConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static FetchProfile |
FETCH_PROFILE |
Constructor and Description |
---|
MailConfig(ParameterMap config) |
Modifier and Type | Method and Description |
---|---|
boolean |
check() |
java.lang.String |
getEmail() |
java.lang.String |
getFrom() |
Store |
getImapStore() |
Session |
getSmtpSession(ParameterMap defaultParamMap) |
public MailConfig(ParameterMap config)
public java.lang.String getEmail()
public java.lang.String getFrom()
public boolean check()
public Store getImapStore() throws java.lang.Exception
java.lang.Exception
public Session getSmtpSession(ParameterMap defaultParamMap)