imapset.h File Reference

KIMAPDefaultPortNumber

const TUint32KIMAPDefaultPortNumber

Default IMAP4 server port number.

KImapDefaultInboxSyncRate

const TIntKImapDefaultInboxSyncRate

Default inbox refresh rate in seconds.

KImapDefaultIdleTimeout

const TIntKImapDefaultIdleTimeout

Default idle timeout in seconds.

KImapDefaultFetchSizeBytes

const TUintKImapDefaultFetchSizeBytes

Default fetch size in bytes.

KImImapSynchroniseAll

const TInt32KImImapSynchroniseAll

Deprecated

KImImapSynchroniseNone

const TInt32KImImapSynchroniseNone

Deprecated

Enum TFolderSyncType

Describes the folder subscription synchronisation strategy.

This specifies whether the local or remote folder subscription flags, or a combination of both, are used to determine which mailboxes are synchronised. For an overview of the synchronisation process, see CImap4ClientMtm.

See also: CImImap4Settings::SetSynchronise() CImImap4Settings::Synchronise()

EnumeratorValueDescription
EUseCombination0

Folders that are marked for subscription either locally or remotely are synchronised.

EUseLocal

Only folders marked for subscription locally are synchronised.

EUseRemote

Only folders marked for subscription remotely are synchronised.

Enum TFolderSubscribeType

Specifies methods of synchronising IMAP4 subscription information with a server.

Subscription settings that have been set on folders on the local device, and subscription settings that have been set on the corresponding mailboxes on the remote server can be synchronised, as part of the synchronisation process (see the overview for CImap4ClientMtm).

See also: CImImap4Settings::SetSubscribe() CImImap4Settings::Subscribe()

EnumeratorValueDescription
EUpdateNeither0

Do not alter local or remote subscription information.

EUpdateLocal

Update local copy of subscription information when it is received from the remote IMAP4 server at the beginning of the mail session.

EUpdateRemote

Update remote copy of subscription information so that it matches the local subscription information.

EUpdateBoth

Merge local and remote subscription information, store updated information on the remote server and store merged data on the local message store.

Enum TImap4GetMailOptions

Defines which components of a message to fetch when copying or moving from a server.

See also: CImImap4Settings::SetGetMailOptions() CImImap4Settings::GetMailOptions()

EnumeratorValueDescription
EGetImap4EmailHeaders

Get message headers.

EGetImap4EmailBodyText

Get message body.

EGetImap4EmailBodyTextAndAttachments

Get message body and attachments.

EGetImap4EmailAttachments

Get message attachments.

EGetImap4EmailBodyAlternativeText

Get message body, including non-plain or non-HTML alternative text parts (or attachments).

Enum TImImap4PartialMailOptions

Defines which components of a message should be fetched partially when fetching the message from a server.

See also: CImImap4Settings

EnumeratorValueDescription
ENoSizeLimits

No size limits, full message to be fetched.

EBodyTextOnly

Get body text only. Gets text/plain part only if text/plain part size + text/html part size is greater than body text size limit. Gets text/plain part and text/html part if text/plain part size + text/html part size is less than body text size limit of the message.

EAttachmentsOnly

Gets all the attachments less than attachment size limit.

EBodyTextAndAttachments

Gets the body text less than or equal to body text size limit and attachments less than or equal to attachment size limit.

ECumulative

Gets the body text less than total size limit and also attachments whose size is within total size limit minus fetched body parts.

EBodyAlternativeText

Gets the body text less than total size limit and all non-HTML text attachments whose size is within total size limit minus fetched body parts.

Enum TImap4ProgressType

Flags to indicate what type of IMAP4 progress information is being returned.

EnumeratorValueDescription
EImap4GenericProgressType

Progress information is an TImap4GenericProgress object.

EImap4SyncProgressType

Progress information is an TImap4SyncProgress object.