Package alt.javax.mail.internet
Interface MimeMessage
- All Superinterfaces:
Message
- All Known Implementing Classes:
MimeMessageImpl,MockMimeMessage
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddRecipient(javax.mail.Message.RecipientType type, Address address) voidaddRecipients(javax.mail.Message.RecipientType type, String s) Address[]String[]FoldergetMatchingHeaderLines(String[] strings) intgetNonMatchingHeaderLines(String[] strings) Address[]booleanbooleanisSet(Flags.Flag flag) booleanmatch(SearchTerm term) voidvoidsetContentLanguage(String[] strings) voidvoidsetDescription(String s, String s1) voidsetFlag(Flags.Flag flag, boolean b) voidsetRecipient(javax.mail.Message.RecipientType type, Address address) voidsetRecipients(javax.mail.Message.RecipientType type, String s) voidsetReplyTo(Address[] addresses) voidsetSubject(String s, String s1) voidvoidwriteTo(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:
IOExceptionMessagingException
-
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
-