public class MailConfig
extends Object
E-Mail configuration. Provides IMAP and SMTP sessions.
-
Constructor Summary
Constructors
-
Method Summary
boolean
javax.mail.Session
javax.mail.Store
javax.mail.Session
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
-
-
check
public boolean check()
-
getImapSessionStaticProperties
public static Properties getImapSessionStaticProperties()
- Returns:
- default set of IMAP session properties.
-
getImapSession
public javax.mail.Session getImapSession()
throws
Exception
- Throws:
Exception
-
-
getSmtpSession
public javax.mail.Session getSmtpSession(ConfigMap defaultParamMap)