Uses of Interface javax.mail.Part (JavaMail API documentation)
Date: 2019-08-31

## Uses of Interface
javax.mail.Part

- Packages that use Part
  Package | Description
  --- | ---
  com.sun.mail.dsn | Support for creating and parsing Delivery Status Notifications.
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
  com.sun.mail.pop3 | A POP3 protocol provider for the JavaMail API that provides access to a POP3 message store.
  com.sun.mail.smtp | An SMTP protocol provider for the JavaMail API that provides access to an SMTP server.
  javax.mail | The JavaMailTM API provides classes that model a mail system.
  javax.mail.internet | Classes specific to Internet mail systems.

- - ### Uses of Part in com.sun.mail.dsn

    Classes in com.sun.mail.dsn that implement Part
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MessageHeaders` A special MimeMessage object that contains only message headers, no content.

  - ### Uses of Part in com.sun.mail.imap

    Classes in com.sun.mail.imap that implement Part
    Modifier and Type | Class and Description
    --- | ---
    `class` | `IMAPMessage` This class implements an IMAPMessage object.

  - ### Uses of Part in com.sun.mail.pop3

    Classes in com.sun.mail.pop3 that implement Part
    Modifier and Type | Class and Description
    --- | ---
    `class` | `POP3Message` A POP3 Message.

  - ### Uses of Part in com.sun.mail.smtp

    Classes in com.sun.mail.smtp that implement Part
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SMTPMessage` This class is a specialization of the MimeMessage class that allows you to specify various SMTP options and parameters that will be used when this message is sent over SMTP.

  - ### Uses of Part in javax.mail

    Classes in javax.mail that implement Part
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BodyPart` This class models a Part that is contained within a Multipart.
    `class` | `Message` This class models an email message.

    Fields in javax.mail declared as Part
    Modifier and Type | Field and Description
    --- | ---
    `protected Part` | Multipart.`parent` The `Part` containing this `Multipart`, if known.

    Methods in javax.mail that return Part
    Modifier and Type | Method and Description
    --- | ---
    `Part` | Multipart.`getParent()` Return the `Part` that contains this `Multipart` object, or `null` if not known.
    `Part` | MessageContext.`getPart()` Return the Part that contains the content.

    Methods in javax.mail with parameters of type Part
    Modifier and Type | Method and Description
    --- | ---
    `void` | Multipart.`setParent(Part parent)` Set the parent of this `Multipart` to be the specified `Part`.

    Constructors in javax.mail with parameters of type Part
    Constructor and Description
    `MessageContext(Part part)` Create a MessageContext object describing the context of the given Part.

  - ### Uses of Part in javax.mail.internet

    Subinterfaces of Part in javax.mail.internet
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `MimePart` The MimePart interface models an Entity as defined by MIME (RFC2045, Section 2.4).

    Classes in javax.mail.internet that implement Part
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MimeBodyPart` This class represents a MIME body part.
    `class` | `MimeMessage` This class represents a MIME style email message.
    `class` | `PreencodedMimeBodyPart` A MimeBodyPart that handles data that has already been encoded.

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