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