O'Reilly logo

Java Enterprise in a Nutshell, Second Edition by David Flanagan, Jim Farley, William Crawford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

MimeMessage

Synopsis

This class is an extension of the Message class to represent a MIME formatted message. MimeMessage is the main Message implementation provided with the standard JavaMail distribution.

                  Returned By
public class MimeMessage extends javax.mail.Message implements MimePart {
// Public Constructors
   public MimeMessage(                                           // 1.2
        MimeMessage source) throws MessagingException;  
   public MimeMessage( javax.mail.Session session);  
   public MimeMessage(javax.mail.Session session, 
        java.io.InputStream is) throws MessagingException;  
// Protected Constructors
   protected MimeMessage( Folder folder, int msgnum);  
   protected MimeMessage(Folder folder, 
        java.io.InputStream is, 
        int msgnum) throws MessagingException;  
   protected MimeMessage(Folder folder, 
        InternetHeaders headers, byte[] content, 
        int msgnum) throws MessagingException;  
// Inner Classes

           public static class RecipientType extends Message.RecipientType; 
// Property Accessor Methods (by property name)
   public java.util.Enumeration getAllHeaderLines(               // Implements:MimePart
        ) throws MessagingException;  
   public java.util.Enumeration getAllHeaders(                   // Implements:Part
        ) throws MessagingException;  
   public Address[] getAllRecipients(                    // Overrides:Message
        ) throws MessagingException;  
   public Object getContent(                                     // Implements:Part
        ) throws IOExceptionMessagingException;  
   public void setContent(                                       // Implements:Part
        Multipart mp) throws MessagingException; public ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required