ImapMessageInfo

Inheritance: java.lang.Object, com.aspose.email.MessageInfoBase

public final class ImapMessageInfo extends MessageInfoBase

Represents a Imap message object.

Methods

MethodDescription
close()
containsKeyword(String flag)Gets a value indicating whether Flags property contains the Keyword flag.
dispose()Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
equals(Object arg0)
getAnswered()Gets a value indicating whether Flags property contains the Answered flag.
getBcc()Gets blind carbon copy of the E-Mail message.
getCC()Gets CC of the E-Mail message.
getClass()
getConversationId()Gets a value indicating conversation id.
getDate()The origination date specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system.
getDeleted()Gets a value indicating whether Flags property contains the Deleted flag.
getDraft()Gets a value indicating whether Flags property contains the Draft flag.
getExtraParameters()Gets extra parameters of a message.
getFlagged()Gets a value indicating whether Flags property contains the Flagged flag.
getFlags()Gets the message flags.
getFrom()Gets the list of authors of this message.
getHeaders()Gets the Headers of the E-Mail message.
getInternalDate()The internal date and time of the message on the server.
getListUnsubscribe()The List-Unsubscribe field describes the command (preferably using mail) to directly unsubscribe the user(removing them from the list).
getMessageId()Gets the message ID.
getModificationSequence()Gets the modification sequence of this message.
getParentFolder()Gets parent folder for message
getProperties()Gets a mapi properties.
getRecent()Gets a value indicating whether Flags property contains the Recent flag.
getReplyTo()Gets the list of addresses that should receive replies to this message.
getSender()Gets the sender of this message.
getSequenceNumber()Gets the message sequence number.
getSize()Gets the size of the E-Mail message.
getSubject()Gets the Subject of the E-Mail message.
getTo()Gets the receiptants of the E-Mail message.
getUniqueId()Gets the message unique ID.
hashCode()
isRead()Gets a value indicating whether Flags property contains the Read flag.
notify()
notifyAll()
toString()Returns a string that represents the current object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

close()

public void close()

containsKeyword(String flag)

public final boolean containsKeyword(String flag)

Gets a value indicating whether Flags property contains the Keyword flag.

Parameters:

ParameterTypeDescription
flagjava.lang.StringThe Keyword flag.

Returns: boolean

dispose()

public void dispose()

Performs tasks associated with freeing, releasing, or resetting unmanaged resources.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAnswered()

public final boolean getAnswered()

Gets a value indicating whether Flags property contains the Answered flag.

Value: The answered flag.

Returns: boolean

getBcc()

public MailAddressCollection getBcc()

Gets blind carbon copy of the E-Mail message.

Returns: MailAddressCollection

getCC()

public MailAddressCollection getCC()

Gets CC of the E-Mail message.

Returns: MailAddressCollection

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getConversationId()

public final String getConversationId()

Gets a value indicating conversation id.

Returns: java.lang.String

getDate()

public Date getDate()

The origination date specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system. For instance, this might be the time that a user pushes the “send” or “submit” button in an application program. In any case, it is specifically not intended to convey the time that the message is actually transported, but rather the time at which the human or other creator of the message has put the message into its final form, ready for transport. (For example, a portable computer user who is not connected to a network might queue a message for delivery. The origination date is intended to contain the date and time that the user queued the message, not the time when the user connected to the network to send the message.)

Returns: java.util.Date

getDeleted()

public final boolean getDeleted()

Gets a value indicating whether Flags property contains the Deleted flag.

Value: The deleted flag.

Returns: boolean

getDraft()

public final boolean getDraft()

Gets a value indicating whether Flags property contains the Draft flag.

Value: The draft flag.

Returns: boolean

getExtraParameters()

public final System.Collections.Generic.IGenericDictionary<String,String> getExtraParameters()

Gets extra parameters of a message.

Returns: com.aspose.ms.System.Collections.Generic.IGenericDictionary<java.lang.String,java.lang.String>

getFlagged()

public final boolean getFlagged()

Gets a value indicating whether Flags property contains the Flagged flag.

Value: The flagged flag.

Returns: boolean

getFlags()

public final ImapMessageFlags getFlags()

Gets the message flags.

Value: The message flags.

Returns: ImapMessageFlags

getFrom()

public final MailAddress getFrom()

Gets the list of authors of this message.

Value: The list of authors of this message.

Returns: MailAddress

getHeaders()

public final HeaderCollection getHeaders()

Gets the Headers of the E-Mail message.

Value: The headers.

Returns: HeaderCollection

getInternalDate()

public final Date getInternalDate()

The internal date and time of the message on the server. This is not the date and time in the [RFC-2822] header, but rather a date and time which reflects when the message was received. - In the case of messages delivered via [SMTP], this SHOULD be the date and time of final delivery of the message as defined by[SMTP]. - In the case of messages delivered by the IMAP4rev1 COPY command, this SHOULD be the internal date and time of the source message. - In the case of messages delivered by the IMAP4rev1 APPEND command, this SHOULD be the date and time as specified in the APPEND command description. - All other cases are implementation defined.

Returns: java.util.Date

getListUnsubscribe()

public final String getListUnsubscribe()

The List-Unsubscribe field describes the command (preferably using mail) to directly unsubscribe the user(removing them from the list). For more details please see https://tools.ietf.org/html/rfc2369

Returns: java.lang.String

getMessageId()

public final String getMessageId()

Gets the message ID.

Value: The message id string.

Returns: java.lang.String

getModificationSequence()

public final long getModificationSequence()

Gets the modification sequence of this message. See more: https://tools.ietf.org/html/rfc7162

Returns: long

getParentFolder()

public final String getParentFolder()

Gets parent folder for message

Returns: java.lang.String

getProperties()

public MapiPropertyCollection getProperties()

Gets a mapi properties.

Returns: MapiPropertyCollection

getRecent()

public final boolean getRecent()

Gets a value indicating whether Flags property contains the Recent flag.

Value: The recent flag.

Returns: boolean

getReplyTo()

public final MailAddressCollection getReplyTo()

Gets the list of addresses that should receive replies to this message.

Value: The list of addresses.

Returns: MailAddressCollection

getSender()

public final MailAddress getSender()

Gets the sender of this message.

Value: The sender of this message.

Returns: MailAddress

getSequenceNumber()

public final int getSequenceNumber()

Gets the message sequence number.

Value: The sequence number.

Returns: int

getSize()

public final long getSize()

Gets the size of the E-Mail message.

Value: The size of the E-Mail message.

Returns: long

getSubject()

public final String getSubject()

Gets the Subject of the E-Mail message.

Returns: java.lang.String

getTo()

public MailAddressCollection getTo()

Gets the receiptants of the E-Mail message.

Returns: MailAddressCollection

getUniqueId()

public final String getUniqueId()

Gets the message unique ID.

Value: The unique id string.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

isRead()

public final boolean isRead()

Gets a value indicating whether Flags property contains the Read flag.

Value: The read flag.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - A string that represents the current object.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int