|
Overview |
|
The MimeMessage class allows you to format MIME (Multipurpose Internet Mail Extensions) compliant message bodies with multiple-part textual and non-textual data, such as images and audio/video files. The MimeMessage class can also be used with various protocols, such as HTTP and NNTP.
This section is divided into the following topics.
Creating a MimeMessage message
Creating a MimeMessage message from a file
Setting and getting message headers
Setting and getting the message body
Setting and getting the message parts