Class ReceivedMessage
java.lang.Object
com.codename1.backend.mail.ReceivedMessage
A mail as
MimeParser read it: the decoded headers, the text and HTML
bodies and the attachments.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne attached part. -
Method Summary
Modifier and TypeMethodDescriptionThe attachments, and inline parts that are neither body.getCc()TheCcheader, decoded, or null.getDate()TheDateheader as written, or null.getFrom()TheFromheader, decoded, or null.getHtml()The HTML body, or null.TheMessage-IDheader, or null.byte[]getRaw()The message exactly as it was parsed.TheSubjectheader, decoded, or null.getText()The plain text body, or null.getTo()TheToheader, decoded, or null.The first header calledname, any case, unfolded and with encoded words decoded; null when there is none.Every header calledname, in order.
-
Method Details
-
getFrom
-
getTo
-
getCc
-
getSubject
-
getDate
-
getMessageId
-
header
-
headers
-
getText
-
getHtml
-
getAttachments
The attachments, and inline parts that are neither body.- Returns:
- the attachments, never null
-
getRaw
public byte[] getRaw()The message exactly as it was parsed.- Returns:
- a copy of the raw bytes
-