Top Deprecated
JavaMail API 1.6.2

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
com.sun.mail.imap.protocol.IMAPProtocol.id(String
the GUID
guid
)

As of JavaMail 1.5.1, replaced by id(Map<String,String>)

com.sun.mail.util.MailLogger.MailLogger(String
the Logger name
name
,
String
the prefix for debug output, or null for none
prefix
,
Session
where to get the debug flag and PrintStream
session
)

com.sun.mail.util.MailLogger.MailLogger(Class<?>
the Logger name is the package name of this class
clazz
,
String
the prefix for debug output, or null for none
prefix
,
Session
where to get the debug flag and PrintStream
session
)

Returns:

the property value
com.sun.mail.util.PropUtil.getBooleanSessionProperty
(Session
the Session
session
,
String
the property name
name
,
boolean
default value if property not found
def
)

Returns:

the property value
com.sun.mail.util.PropUtil.getIntSessionProperty
(Session
the Session
session
,
String
the property name
name
,
int
default value if property not found
def
)

Returns:

the wrapped Socket
com.sun.mail.util.SocketFetcher.startTLS
(Socket
the existing socket
socket
)

Returns:

the wrapped Socket
com.sun.mail.util.SocketFetcher.startTLS
(Socket
the existing socket
socket
,
Properties
the properties
props
,
String
the property prefix
prefix
)