Package alt.javax.mail.internet
Interface MimeMessage
- All Superinterfaces:
Message
- All Known Implementing Classes:
MimeMessageImpl
,MockMimeMessage
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addRecipient
(javax.mail.Message.RecipientType type, Address address) void
addRecipients
(javax.mail.Message.RecipientType type, String s) Address[]
String[]
Folder
getMatchingHeaderLines
(String[] strings) int
getNonMatchingHeaderLines
(String[] strings) Address[]
boolean
boolean
isSet
(Flags.Flag flag) boolean
match
(SearchTerm term) void
void
setContentLanguage
(String[] strings) void
void
setDescription
(String s, String s1) void
setFlag
(Flags.Flag flag, boolean b) void
setRecipient
(javax.mail.Message.RecipientType type, Address address) void
setRecipients
(javax.mail.Message.RecipientType type, String s) void
setReplyTo
(Address[] addresses) void
setSubject
(String s, String s1) void
void
writeTo
(OutputStream stream, String[] strings) Methods inherited from interface alt.javax.mail.Message
addFrom, addHeader, addRecipients, getAllHeaders, getContent, getContentType, getDataHandler, getDescription, getDisposition, getFileName, getFlags, getFrom, getHeader, getInputStream, getLineCount, getMatchingHeaders, getNonMatchingHeaders, getRealMessage, getReceivedDate, getRecipients, getSentDate, getSize, getSubject, isMimeType, removeHeader, reply, saveChanges, setContent, setContent, setDataHandler, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setSentDate, setSubject, setText, writeTo
-
Method Details
-
setRecipient
void setRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException - Throws:
MessagingException
-
addRecipient
void addRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException - Throws:
MessagingException
-
setFlag
void setFlag(Flags.Flag flag, boolean b) throws MessagingException - Throws:
MessagingException
-
getMessageNumber
int getMessageNumber() -
getFolder
Folder getFolder() -
isExpunged
boolean isExpunged() -
match
boolean match(SearchTerm term) throws MessagingException - Throws:
MessagingException
-
getAllRecipients
Address[] getAllRecipients() throws MessagingException- Throws:
MessagingException
-
setRecipients
- Throws:
MessagingException
-
addRecipients
- Throws:
MessagingException
-
getReplyTo
Address[] getReplyTo() throws MessagingException- Throws:
MessagingException
-
setReplyTo
void setReplyTo(Address[] addresses) throws MessagingException - Throws:
MessagingException
-
setSubject
- Throws:
MessagingException
-
getEncoding
- Throws:
MessagingException
-
getContentID
- Throws:
MessagingException
-
setContentID
- Throws:
MessagingException
-
getContentMD5
- Throws:
MessagingException
-
setContentMD5
- Throws:
MessagingException
-
setDescription
- Throws:
MessagingException
-
getContentLanguage
- Throws:
MessagingException
-
setContentLanguage
- Throws:
MessagingException
-
getMessageID
- Throws:
MessagingException
-
getRawInputStream
- Throws:
MessagingException
-
setText
- Throws:
MessagingException
-
writeTo
- Throws:
IOException
MessagingException
-
getHeader
- Throws:
MessagingException
-
addHeaderLine
- Throws:
MessagingException
-
getAllHeaderLines
- Throws:
MessagingException
-
getMatchingHeaderLines
- Throws:
MessagingException
-
getNonMatchingHeaderLines
- Throws:
MessagingException
-
isSet
boolean isSet(Flags.Flag flag) throws MessagingException - Throws:
MessagingException
-