com.sun.mail.util (JavaMail API documentation)
Date: 2019-08-31

# Package com.sun.mail.util

Utility classes for use with the JavaMail API.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ReadableMime | A Message or message Part whose data can be read as a MIME format stream.

- Class Summary
  Class | Description
  --- | ---
  MailSSLSocketFactory | An SSL socket factory that makes it easier to specify trust.

- Exception Summary
  Exception | Description
  --- | ---
  MailConnectException | A MessagingException that indicates a socket connection attempt failed.

## Package com.sun.mail.util Description

Utility classes for use with the JavaMail API. These utility classes are not part of the JavaMail specification. While this package contains many classes used by the JavaMail implementation and not intended for direct use by applications, the classes documented here may be of use to applications.

Classes in this package log debugging information using `java.util.logging` as described in the following table:

Logger Name | Logging Level | Purpose
--- | --- | ---
com.sun.mail.util.socket | FINER | Debugging output related to creating sockets

WARNING: The APIs in this package should be considered EXPERIMENTAL. They may be changed in the future in ways that are incompatible with applications using the current APIs.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.