Package com.sun.mail.dsn

Support for creating and parsing Delivery Status Notifications.

See:
          Description

Class Summary
DeliveryStatus A message/delivery-status message content, as defined in RFC 3464.
MessageHeaders A special MimeMessage object that contains only message headers, no content.
MultipartReport A multipart/report message content, as defined in RFC 3462.
 

Package com.sun.mail.dsn Description

Support for creating and parsing Delivery Status Notifications. Refer to RFC 3462 and RFC 3464 for more information.

A Delivery Status Notification is a MIME message with a Content-Type of multipart/report. A MultipartReport object represents the content of such a message. The MultipartReport object contains several parts that represent the information in a delivery status notification. The first part is usually a text/plain part that describes the reason for the notification. The second part is a message/delivery-status part, which is represented by a DeliveryStatus object, and contains details about the notification. The third part is either an entire copy of the original message that is returned, represented by a MimeMessage object, or just the headers of the original message, represented by a MessageHeaders object.

To use the classes in this package, include dsn.jar in your class path.

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