com.openexchange.mail.mime
Class MIMEDefaultSession

java.lang.Object
  extended by com.openexchange.mail.mime.MIMEDefaultSession

public final class MIMEDefaultSession
extends java.lang.Object

MIMEDefaultSession - Provides access to default instance of Session

Author:
Thorben Betten

Method Summary
static java.util.Properties getDefaultMailProperties()
          Gets a clone of the default mail properties.
static javax.mail.Session getDefaultSession()
          Applies basic properties to system properties and instantiates the singleton instance of Session.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultSession

public static javax.mail.Session getDefaultSession()
Applies basic properties to system properties and instantiates the singleton instance of Session.

Returns:
The default instance of Session

getDefaultMailProperties

public static java.util.Properties getDefaultMailProperties()
Gets a clone of the default mail properties.

Returns:
A clone of the default mail properties