ImapMailboxInfo

Inheritance: java.lang.Object

public class ImapMailboxInfo

Contains set of special-use mailboxes

Methods

Method Description
getAllMessages() Gets mailbox presents all messages in the user’s message store.
getArchivedMessages() Gets mailbox is used to archive messages.
getDraftMessages() Gets mailbox is used to hold draft messages typically, messages that are being composed but have not yet been sent.
getFlaggedMessages() Gets mailbox presents all messages marked in some way as “important”.
getJunkMessages() Gets mailbox is where messages deemed to be junk mail are held.
getSentMessages() Gets mailbox is used to hold copies of messages that have been sent.
getTrash() Gets mailbox is used to hold messages that have been deleted or marked for deletion.
getImportant() Gets mailbox is used to hold messages that have been marked as important.
getInbox() Gets mailbox is used to hold incoming messages.
toArray() Gets array of existed well-known folders.

getAllMessages()

public final ImapFolderInfo getAllMessages()

Gets mailbox presents all messages in the user’s message store. Please note, this value may be null if server does not support rfc6154 or folder has not been created.

Returns: ImapFolderInfo

getArchivedMessages()

public final ImapFolderInfo getArchivedMessages()

Gets mailbox is used to archive messages. Please note, this value may be null if server does not support rfc6154 or folder has not been created.

Returns: ImapFolderInfo

getDraftMessages()

public final ImapFolderInfo getDraftMessages()

Gets mailbox is used to hold draft messages typically, messages that are being composed but have not yet been sent. Please note, this value may be null if server does not support rfc6154 or folder has not been created.

Returns: ImapFolderInfo

getFlaggedMessages()

public final ImapFolderInfo getFlaggedMessages()

Gets mailbox presents all messages marked in some way as “important”. Please note, this value may be null if server does not support rfc6154 or folder has not been created.

Returns: ImapFolderInfo

getJunkMessages()

public final ImapFolderInfo getJunkMessages()

Gets mailbox is where messages deemed to be junk mail are held. Please note, this value may be null if server does not support rfc6154 or folder has not been created.

Returns: ImapFolderInfo

getSentMessages()

public final ImapFolderInfo getSentMessages()

Gets mailbox is used to hold copies of messages that have been sent. Please note, this value may be null if server does not support rfc6154 or folder has not been created.

Returns: ImapFolderInfo

getTrash()

public final ImapFolderInfo getTrash()

Gets mailbox is used to hold messages that have been deleted or marked for deletion. Please note, this value may be null if server does not support rfc6154 or folder has not been created.

Returns: ImapFolderInfo

getImportant()

public final ImapFolderInfo getImportant()

Gets mailbox is used to hold messages that have been marked as important. Please note, this value may be null if server does not support rfc8457 or folder has not been created.

Returns: ImapFolderInfo

getInbox()

public final ImapFolderInfo getInbox()

Gets mailbox is used to hold incoming messages.

Returns: ImapFolderInfo

toArray()

public final ImapFolderInfo[] toArray()

Gets array of existed well-known folders. If well-known folder is null, it won’t be included in array.

Returns: com.aspose.email.ImapFolderInfo[] - Array of ImapFolderInfo objects