Name

javax.mail.internet.MimeMessage — This class represents a MIME mail message.

Synopsis

public class MimeMessage extends Message implements MimePart {
    // Public Constructors
            public MimeMessage(Session session);
            public MimeMessage(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;
    // Protected Variables
            protected javax.activation.DataHandler dh;
            protected byte[] cantent;
            protected InternetHeaders headers;
            protected Flags flags;
    // Public Methods
            public Address[] getFrom() throws MessagingException;
            public void setFrom(Address address) throws MessagingException;
            public void setFrom() throws MessagingException;
            public void addFrom(Address[] addresses) throws MessagingException;
            public Address[] getRecipients(Message.RecipientType type) throws
             MessagingException;
            public Address[] getAllRecipients() throws MessagingException;
            public void setRecipients(Message.RecipientType type, Address[]
             addresses) throws MessagingException;
            public void addRecipients(Message.RecipientType type, Address[]
             addresses) throws MessagingException;
            public Address[] getReplyTo() throws MessagingException;
            public void setReplyTo(Address[] addresses) throws MessagingException; public java.lang.String ...

Get Programming Internet Email now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.