Search

Class ReceivedMessage

Represents a received email message from a mail server.

Attributes

Name Type Description
bcc String[] "Bcc" attribute of the message as array of strings
cc String[] "Cc" attribute of the message as array of strings
contentType String Content type of the message
from String[] "From" attribute of the message as array of strings
id String Number of the message
replyTo String[] "ReplyTo" attribute of the message as array of strings
subject String "Subject" attribute of the message
to String[] "To" attribute of the message as array of strings

Methods

Name Returns
delete() void
getContent() String
getFolder() String
getHeader(String key) String
getHeaders() Properties
getMultiPartContent() MessageMultiPart
getReceivedDate() Date
getSentDate() Date
isContentMultiPart() boolean
isExpunged() boolean

Returned by

Method Returns
MailClient.expungeMessages() ReceivedMessage[]
MailClient.getDeletedMessages() ReceivedMessage[]
MailClient.getMessage(String msgNumber) ReceivedMessage[]
MailClient.getMessages() ReceivedMessage[]
MailClient.getMessagesBetween(String startMsgNumber, String endMsgNumber) ReceivedMessage[]
MailClient.getRecentMessages() ReceivedMessage[]
MailClient.getUnseenMessages() ReceivedMessage[]
MailClient.searchBodyMessage(String pattern) ReceivedMessage[]
MailClient.searchFromAddress(String pattern) ReceivedMessage[]
MailClient.searchRecipientAddress(String pattern) ReceivedMessage[]
MailClient.searchSubjectMessage(String pattern) ReceivedMessage[]

Referenced in

None