MImumInHealthServices Class Reference

class MImumInHealthServices
Public Member Functions
voidCleanupUnhealthyMailboxes()
TInt GetHealthyMailboxList(RMailboxIdArray &, const TInt64, const TBool)
TInt GetMailboxList(RMailboxIdArray &, const TInt64, const TBool)
TBool IsMailboxHealthy(const TMsvId)
Public Member Enumerations
enumTImumInMboxListRequest {
EFlagIncludeImap4 = 0x01, EFlagIncludePop3 = 0x02, EFlagIncludeSmtp = 0x04, EFlagIncludeSyncMl = 0x08, EFlagIncludeOther = 0x20, EFlagGetHealthy = 0x10, EFlagSetHealthyReceiving = 0x33, EFlagSetAll = 0x37
}
Public Member Type Definitions
typedef RArray< TMsvId > RMailboxIdArray

Member Functions Documentation

CleanupUnhealthyMailboxes()

voidCleanupUnhealthyMailboxes()const [pure virtual]
Searches and destroys unhealthy mailboxes
Since
S60 3.0

GetHealthyMailboxList(RMailboxIdArray &, const TInt64, const TBool)

TInt GetHealthyMailboxList(RMailboxIdArray &aMailboxArray,
const TInt64aFlags = EFlagSetHealthyReceiving,
const TBoolaClearArray = ETrue
)const [pure virtual]

Parameters

RMailboxIdArray & aMailboxArray
const TInt64 aFlags = EFlagSetHealthyReceiving
const TBool aClearArray = ETrue

GetMailboxList(RMailboxIdArray &, const TInt64, const TBool)

TInt GetMailboxList(RMailboxIdArray &aMailboxArray,
const TInt64aFlags = EFlagSetHealthyReceiving,
const TBoolaClearArray = ETrue
)const [pure virtual]
Returns array of fully operating mailboxes
Since
S60 3.0

Parameters

RMailboxIdArray & aMailboxArrayReturn parameter for array of mailboxes
const TInt64 aFlags = EFlagSetHealthyReceivingUse TImumInMboxListRequest to include the MTMs
const TBool aClearArray = ETrueBy default, the array is cleared before use

IsMailboxHealthy(const TMsvId)

TBool IsMailboxHealthy(const TMsvIdaMailboxId)const [pure virtual]
Verifies the mailbox condition
Since
S60 3.0

Parameters

const TMsvId aMailboxIdThe Id of the mailbox for the check

Member Enumerations Documentation

Enum TImumInMboxListRequest

Flags to control the data collection

Enumerators

EFlagIncludeImap4 = 0x01
EFlagIncludePop3 = 0x02
EFlagIncludeSmtp = 0x04
EFlagIncludeSyncMl = 0x08
EFlagIncludeOther = 0x20
EFlagGetHealthy = 0x10
EFlagSetHealthyReceiving = 0x33
EFlagSetAll = 0x37

Member Type Definitions Documentation

Typedef RMailboxIdArray

typedef RArray< TMsvId >RMailboxIdArray

Array of mailbox id's