Name
javax.mail.internet.MimeMessage — This class represents a MIME mail message.
Synopsis
public classMimeMessage
extends Message implements MimePart { // Public Constructors publicMimeMessage
(Session session); publicMimeMessage
(Session session, java.io.InputStream is) throws MessagingException; // Protected Constructors protectedMimeMessage
(Folder folder, int msgnum); protectedMimeMessage
(Folder folder, java.io.InputStream is, int msgnum) throws MessagingException; protectedMimeMessage
(Folder folder, InternetHeaders headers, byte[] content, int msgnum) throws MessagingException; // Protected Variables protected javax.activation.DataHandlerdh;
protected byte[]cantent;
protected InternetHeadersheaders;
protected Flagsflags;
// Public Methods public Address[]getFrom()
throws MessagingException; public voidsetFrom
(Address address) throws MessagingException; public voidsetFrom()
throws MessagingException; public voidaddFrom
(Address[] addresses) throws MessagingException; public Address[]getRecipients
(Message.RecipientType type) throws MessagingException; public Address[]getAllRecipients()
throws MessagingException; public voidsetRecipients
(Message.RecipientType type, Address[] addresses) throws MessagingException; public voidaddRecipients
(Message.RecipientType type, Address[] addresses) throws MessagingException; public Address[]getReplyTo()
throws MessagingException; public voidsetReplyTo
(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.