CFSMailPlugin Class Reference

class CFSMailPlugin : public CExtendableEmail

Freestyle Email Framework Plugin Interface

class MFSMailPlugin defines functions used by email framework and implemented by plugin implementor.

Plugin implementor inherits from class CFSMailPlugin, but plugin load medhods are provided by framework in file cfsmailplugin.inl CFSMailPlugin,cfsmailplugin.inl are exported by framework

FSFWCommonLib

Inherits from

Public Member Functions
~CFSMailPlugin()
voidAddObserverL(MFSMailEventObserver &)
voidAuthenticateL(MFSMailRequestObserver &, TInt)
voidCancelL(const TInt)
voidCancelSearch(const TFSMailMsgId &)
TInt CancelSyncL(const TFSMailMsgId &)
voidChildPartsL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, RPointerArray< CFSMailMessagePart > &)
voidClearSearchResultCache(const TFSMailMsgId &)
voidClose()
CFSMailMessagePart *CopyMessageAsChildPartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const CFSMailMessage &)
voidCopyMessagePartFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &)
voidCopyMessagesL(const TFSMailMsgId &, const RArray< TFSMailMsgId > &, RArray< TFSMailMsgId > &, const TFSMailMsgId &, const TFSMailMsgId &)
CFSMailFolder *CreateFolderL(const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &, const TBool)
CFSMailMessage *CreateForwardMessageL(const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &)
CFSMailMessage *CreateMessageFromFileL(const , const RFile &)
CFSMailMessage *CreateMessageToSendL(const TFSMailMsgId &)
CFSMailMessage *CreateReplyMessageL(const TFSMailMsgId &, const TFSMailMsgId &, const TBool, const TDesC &)
TSSMailSyncState CurrentSyncState(const TFSMailMsgId &)
voidDeleteFolderByUidL(const TFSMailMsgId &, const TFSMailMsgId &)
voidDeleteMailBoxByUidL(const TFSMailMsgId &, MFSMailRequestObserver &, const TInt)
voidDeleteMessagesByUidL(const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &)
voidFetchMessagePartsL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &, MFSMailRequestObserver &, const TInt, const TUint)
voidFetchMessagesL(const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &, TFSMailDetails, MFSMailRequestObserver &, TInt)
TDesC &GetBrandingIdL(const TFSMailMsgId &)
TInt GetConnectionId(TFSMailMsgId, TUint32 &)
voidGetContentToBufferL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, TDes &, const TUint)
CFSMailFolder *GetFolderByUidL(const TFSMailMsgId &, const TFSMailMsgId &)
const TFSProgressGetLastSyncStatusL(const TFSMailMsgId &)
CFSMailBox *GetMailBoxByUidL(const TFSMailMsgId &)
TFSMailBoxStatus GetMailBoxStatus(const TFSMailMsgId &)
CFSMailMessage *GetMessageByUidL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailDetails)
TInt GetMessagePartFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, RFile &)
voidGetMessagesL(const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &, RPointerArray< CFSMailMessage > &, const TFSMailDetails)
MDesCArray *GetMrusL(const TFSMailMsgId &)
TFSMailMsgId GetStandardFolderIdL(const TFSMailMsgId &, const TFSFolderType)
voidGoOfflineL(const TFSMailMsgId &)
voidGoOnlineL(const TFSMailMsgId &)
TInt IsConnectionAllowedWhenRoaming(TFSMailMsgId, TBool &)
voidListFoldersL(const TFSMailMsgId &, const TFSMailMsgId &, RPointerArray< CFSMailFolder > &)
voidListFoldersL(const TFSMailMsgId &, RPointerArray< CFSMailFolder > &)
voidListImplementationsL(RPointerArray< CImplementationInformation > &)
voidListMailBoxesL(RArray< TFSMailMsgId > &)
MFSMailIterator *ListMessagesL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailDetails, const RArray< TFSMailSortCriteria > &)
TBool MailboxHasCapabilityL(TFSMailBoxCapabilities, TFSMailMsgId)
CFSMailMessagePart *MessagePartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &)
voidMoveMessagesL(const TFSMailMsgId &, const RArray< TFSMailMsgId > &, const TFSMailMsgId &, const TFSMailMsgId &)
TInt MoveMessagesL(const TFSMailMsgId &, const RArray< TFSMailMsgId > &, const TFSMailMsgId &, const TFSMailMsgId &, MFSMailRequestObserver &, TInt)
CFSMailMessagePart *NewChildPartFromFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &, const TDesC &)
CFSMailMessagePart *NewChildPartFromFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &, RFile &)
CFSMailMessagePart *NewChildPartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &)
CFSMailPlugin *NewL(TUid)
voidRefreshNowL(const TFSMailMsgId &, MFSMailRequestObserver &, TInt)
voidRemoveChildPartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &)
voidRemoveObserver(MFSMailEventObserver &)
voidRemovePartContentL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &)
voidSearchL(const TFSMailMsgId &, const RArray< TFSMailMsgId > &, const RPointerArray< TDesC > &, const TFSMailSortCriteria &, MFSMailBoxSearchObserver &)
voidSendMessageL(CFSMailMessage &)
voidSetContentL(const TDesC &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &)
voidSetCredentialsL(const TFSMailMsgId &, const TDesC &, const TDesC &)
voidSetMailboxName(const TFSMailMsgId &, const TDesC &)
voidSetMrusL(const TFSMailMsgId &, MDesCArray *)
voidSetPartContentFromFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &)
TFSProgress StatusL(const TInt)
voidStoreMessageL(const TFSMailMsgId &, CFSMailMessage &)
voidStoreMessagePartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, CFSMailMessagePart &)
voidSubscribeMailboxEventsL(const TFSMailMsgId &, MFSMailEventObserver &)
voidUnregisterRequestObserver(TInt)
voidUnsubscribeMailboxEvents(const TFSMailMsgId &, MFSMailEventObserver &)
TInt WizardDataAvailableL()
Protected Member Functions
CFSMailPlugin()
Private Member Functions
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CExtendableEmail::ExtensionL(const TUid &)
CExtendableEmail::ReleaseExtension(CEmailExtension *)
Private Attributes
TUid iDtor_ID_Key
Inherited Attributes
CExtendableEmail::iExtensions

Constructor & Destructor Documentation

CFSMailPlugin()

CFSMailPlugin()[protected, inline]

C++ default constructor.

~CFSMailPlugin()

~CFSMailPlugin()[inline, virtual]

destructor

Member Functions Documentation

AddObserverL(MFSMailEventObserver &)

voidAddObserverL(MFSMailEventObserver &aObserver)[pure virtual]

Adds a new event observer. There can be several observers active at the same time. Caller MUST call RemoveObserver before destroying given observer object.

Parameters

MFSMailEventObserver & aObserverobserver implementation

AuthenticateL(MFSMailRequestObserver &, TInt)

voidAuthenticateL(MFSMailRequestObserver &aOperationObserver,
TIntaRequestId
)[pure virtual]

Plugins is asked to immediaty execute all authentications that are mandatory to get services from the plugin. This means e.g. store authentication.

Parameters

MFSMailRequestObserver & aOperationObserveris FW provided observer that should be used to report progress notifications during the operation.
TInt aRequestIdasynchronous request id

CancelL(const TInt)

voidCancelL(const TIntaRequestId)[pure virtual]

cancels pending request

Parameters

const TInt aRequestIdidentifies request if parallel requests exists

CancelSearch(const TFSMailMsgId &)

voidCancelSearch(const TFSMailMsgId &aMailBoxId)[pure virtual]

Cancels current search. Does nothing if there is not any search. The search client will not be called back after this function is called.

Note:

CancelSearch() method does NOT clear the search result cached in the store. A different sort order can be used for the same search string, and the cache will be utilized. Only by using a different search string can the cache be cleaned.

aMailBoxId id of the mailbox where the search should be cancelled

Parameters

const TFSMailMsgId & aMailBoxId

CancelSyncL(const TFSMailMsgId &)

TInt CancelSyncL(const TFSMailMsgId &aMailBoxId)[pure virtual]

cancels all ongoing synchronizations in given mailbox regardless if initiated by email framework or plugin itself

Parameters

const TFSMailMsgId & aMailBoxId

ChildPartsL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, RPointerArray< CFSMailMessagePart > &)

voidChildPartsL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aParentId,
RPointerArray< CFSMailMessagePart > &aParts
)[pure virtual]

Returns child part objects for given email part. Ownership of objects is transferred to user.

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder containing email
const TFSMailMsgId & aMessageIdid of the email part belongs to
const TFSMailMsgId & aParentIdid of the parent email part
RPointerArray< CFSMailMessagePart > & aPartsplugin lists child parts into this table owned by user

ClearSearchResultCache(const TFSMailMsgId &)

voidClearSearchResultCache(const TFSMailMsgId &aMailBoxId)[pure virtual]

Inform the store to clean up its cache for search results.

This method cancels the the ongoing search (if exists), and then clean ups store's cache.

This function should be called when search results are no longer in display.

aMailBoxId id of the mailbox where the search cache should be cleared

Parameters

const TFSMailMsgId & aMailBoxId

Close()

voidClose()[static, inline]

close ecom session

ConstructL()

voidConstructL()[private]

Two-phased constructor

CopyMessageAsChildPartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const CFSMailMessage &)

CFSMailMessagePart *CopyMessageAsChildPartL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aParentPartId,
const TFSMailMsgId &aInsertBefore,
const CFSMailMessage &aMessage
)[pure virtual]

Copies given email as new child part to given email part.

return new child part object, ownership is transferred to user

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email parent part belongs to
const TFSMailMsgId & aParentPartIdid of the parent part of the new part
const TFSMailMsgId & aInsertBeforeid of existing part that new part should precede. If NULL id then new part is added as last.
const CFSMailMessage & aMessageid of the email that is copied as child part

CopyMessagePartFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &)

voidCopyMessagePartFileL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aMessagePartId,
const TDesC &aContentLocation
)[pure virtual]

copies contents of this message part to given file

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email part belongs to
const TFSMailMsgId & aMessagePartIdid of the message part
const TDesC & aContentLocationdefines file location as a) directory, when plugin finds out corresponding file name related to this part id, in this case last character should be '/' b) directory & filename, when both directory and file name are given by user

CopyMessagesL(const TFSMailMsgId &, const RArray< TFSMailMsgId > &, RArray< TFSMailMsgId > &, const TFSMailMsgId &, const TFSMailMsgId &)

voidCopyMessagesL(const TFSMailMsgId &aMailBoxId,
const RArray< TFSMailMsgId > &aMessageIds,
RArray< TFSMailMsgId > &aNewMessages,
const TFSMailMsgId &aSourceFolderId,
const TFSMailMsgId &aDestinationFolderId
)[pure virtual]

Copies a messages from folder to another. This function copies a messages to the given folder, including the properties, content, and all attachments. (note Only works if the store is in an authenticated state, otherwise this function leaves with KErrNotReady)

Parameters

const TFSMailMsgId & aMailBoxIdtarget mailbox id
const RArray< TFSMailMsgId > & aMessageIdsids of the messages to be copied
RArray< TFSMailMsgId > & aNewMessagesids of the copied new messages owned by user
const TFSMailMsgId & aSourceFolderIdsource folder id
const TFSMailMsgId & aDestinationFolderIddestination folder id

CreateFolderL(const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &, const TBool)

CFSMailFolder *CreateFolderL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TDesC &aFolderName,
const TBoolaSync
)[pure virtual]

create new folder

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where folder is created
const TFSMailMsgId & aParentFolderId
const TDesC & aFolderNamename of the new folder
const TBool aSyncdefines if new folder is local only (false) or if it also should sync to server (true)

CreateForwardMessageL(const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &)

CFSMailMessage *CreateForwardMessageL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aOriginalMessageId,
const TDesC &aHeaderDescriptor =  KNullDesC
)[pure virtual]

creates new email template to drafts folder to be forwarded

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where new email is created
const TFSMailMsgId & aOriginalMessageIdif of the (original) message,which is forwarded
const TDesC & aHeaderDescriptor =  KNullDesC

CreateMessageFromFileL(const, const RFile &)

CFSMailMessage *CreateMessageFromFileL(const TFSMailMsgId,
const RFile &
)[inline, virtual]

Reads email from file stream and converts it to class CFSMailMessage

Parameters

const TFSMailMsgId
const RFile &

CreateMessageToSendL(const TFSMailMsgId &)

CFSMailMessage *CreateMessageToSendL(const TFSMailMsgId &aMailBoxId)[pure virtual]

creates new email template into drafts folder

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where new email is created

CreateReplyMessageL(const TFSMailMsgId &, const TFSMailMsgId &, const TBool, const TDesC &)

CFSMailMessage *CreateReplyMessageL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aOriginalMessageId,
const TBoolaReplyToAll,
const TDesC &aHeaderDescriptor =  KNullDesC
)[pure virtual]

creates new email template to drafts folder to be replied

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where new email is created
const TFSMailMsgId & aOriginalMessageIdid of original email,which is replied to
const TBool aReplyToAlltrue if reply to all is wanted
const TDesC & aHeaderDescriptor =  KNullDesC user can give quote headers data to plugin as parameter if needed

CurrentSyncState(const TFSMailMsgId &)

TSSMailSyncState CurrentSyncState(const TFSMailMsgId &aMailboxId)[pure virtual]

Returns the current synchronization state of mailbox.

Parameters

const TFSMailMsgId & aMailboxIdid of the target mailbox

DeleteFolderByUidL(const TFSMailMsgId &, const TFSMailMsgId &)

voidDeleteFolderByUidL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aFolderId
)[pure virtual]

deletes folder related to given folder id

Parameters

const TFSMailMsgId & aMailBoxIdmailbox where deleted folder is located
const TFSMailMsgId & aFolderIddefines id of the folder to be deleted

DeleteMailBoxByUidL(const TFSMailMsgId &, MFSMailRequestObserver &, const TInt)

voidDeleteMailBoxByUidL(const TFSMailMsgId &aMailBoxId,
MFSMailRequestObserver &aOperationObserver,
const TIntaRequestId
)[pure virtual]

removes mailbox

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox to be removed
MFSMailRequestObserver & aOperationObserveris FW provided observer that should be used to report progress notifications during the operation.
const TInt aRequestIdasynchronous request id

DeleteMessagesByUidL(const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &)

voidDeleteMessagesByUidL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aFolderId,
const RArray< TFSMailMsgId > &aMessages
)[pure virtual]

deletes email defined by message id

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox containing email
const TFSMailMsgId & aFolderIdemail parent folder id
const RArray< TFSMailMsgId > & aMessagesids of messages to be deleted

FetchMessagePartsL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &, MFSMailRequestObserver &, const TInt, const TUint)

voidFetchMessagePartsL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aFolderId,
const TFSMailMsgId &aMessageId,
const RArray< TFSMailMsgId > &aMessagePartIds,
MFSMailRequestObserver &aOperationObserver,
const TIntaRequestId,
const TUintaPreferredByteCount
)[pure virtual]

starts email parts fetching from email server

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aFolderIdid of the parent folder containing email
const TFSMailMsgId & aMessageId
const RArray< TFSMailMsgId > & aMessagePartIdspart ids of email parts, which are to be fetched
MFSMailRequestObserver & aOperationObserverobserver that plugin uses to report progress notifications during the operation.
const TInt aRequestIdasynchronous request id
const TUint aPreferredByteCountindicates how much more content for part(s) user wants to fetch. Default value zero indicates that all content should be fetched. Actual amount of data fetched may differ from requested (possibly all fetched in any case).

FetchMessagesL(const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &, TFSMailDetails, MFSMailRequestObserver &, TInt)

voidFetchMessagesL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const RArray< TFSMailMsgId > &aMessageIds,
TFSMailDetailsaDetails,
MFSMailRequestObserver &aObserver,
TIntaRequestId
)[pure virtual]

starts email fetching from email server

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderId
const RArray< TFSMailMsgId > & aMessageIdsids of email to be fetched
TFSMailDetails aDetailsdefines which details are included in email EFSMsgDataIdOnly -> Doesn't get any data. The object just contains the ID. EFSMsgDataDate -> Get received date only. To be used when showing messages sorted by date. The rest would be retreived when needed but date is needed to build the list. EFSMsgDataSubject -> Like above but when sorting by subject EFSMsgDataSender -> Likewise for sender address. EFSMsgDataEnvelope -> Date, subject, Sender, To, Cc at least. EFSMsgDataStructure -> the part structure including mime type, size and name headers.
MFSMailRequestObserver & aObserverobserver (callback medhod), which plugin calls to pass progress events to user (like fetching has completed)
TInt aRequestIdasynchronous request id

GetBrandingIdL(const TFSMailMsgId &)

TDesC &GetBrandingIdL(const TFSMailMsgId &aMailboxId)[pure virtual]

Returns branding id of this mailbox. This function is used by Branding Manager to associate mailbox to a branding definition. Plugin should return incoming mail server associated with this mailbox.

Parameters

const TFSMailMsgId & aMailboxId

GetConnectionId(TFSMailMsgId, TUint32 &)

TInt GetConnectionId(TFSMailMsgIdaMailBoxId,
TUint32 &aConnectionId
)[inline, virtual]

reads connection id from plugin

Parameters

TFSMailMsgId aMailBoxId
TUint32 & aConnectionIdreference to connection id

GetContentToBufferL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, TDes &, const TUint)

voidGetContentToBufferL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aMessagePartId,
TDes &aBuffer,
const TUintaStartOffset
)[pure virtual]

copies email part content to user given buffer

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email part belongs to
const TFSMailMsgId & aMessagePartIdid of the message part
TDes & aBufferuser buffer
const TUint aStartOffsetoffset from content beginning

GetFolderByUidL(const TFSMailMsgId &, const TFSMailMsgId &)

CFSMailFolder *GetFolderByUidL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aFolderId
)[pure virtual]
FOLDER HANDLING API returns email folder object related to given folder id folder data set by plugin :
  • folder id

  • folder name

  • folder type ; Inbox, Outbox, Sent, Drafts, Deleted, Other

  • message count

  • unread message count

  • mailbox id

  • parent folder

Parameters

const TFSMailMsgId & aMailBoxIdid of mailbox containing folder
const TFSMailMsgId & aFolderIdfolder id

GetLastSyncStatusL(const TFSMailMsgId &)

const TFSProgressGetLastSyncStatusL(const TFSMailMsgId &aMailBoxId)[pure virtual]

Returns last synchronization operation status.

Parameters

const TFSMailMsgId & aMailBoxIdmailbox id

GetMailBoxByUidL(const TFSMailMsgId &)

CFSMailBox *GetMailBoxByUidL(const TFSMailMsgId &aMailBoxId)[pure virtual]
returns email mailbox object related to given mailbox id mailbox data set by plugin :
  • mailbox id

  • mailbox name

  • branding id

  • mailbox capabilities

Parameters

const TFSMailMsgId & aMailBoxIdmailbox id

GetMailBoxStatus(const TFSMailMsgId &)

TFSMailBoxStatus GetMailBoxStatus(const TFSMailMsgId &aMailBoxId)[pure virtual]

returns mailbox online status

Parameters

const TFSMailMsgId & aMailBoxId

GetMessageByUidL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailDetails)

CFSMailMessage *GetMessageByUidL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailDetailsaDetails
)[pure virtual]

returns email object related to given message id

message info set by plugin :
  • message id

  • mailbox

  • parent folder

  • message size

  • the rest is defined by message attributes ;

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox containing email
const TFSMailMsgId & aParentFolderId
const TFSMailMsgId & aMessageIdemail message id
const TFSMailDetails aDetailsdefines which message parts are included in message EFSMsgDataIdOnly -> Doesn't get any data. The object just contains the ID. EFSMsgDataDate -> Get received date only. To be used when showing messages sorted by date. The rest would be retreived when needed but date is needed to build the list. EFSMsgDataSubject -> Like above but when sorting by subject EFSMsgDataSender -> Likewise for sender address. EFSMsgDataEnvelope, EFSMsgDataStructure -> email content type is evaluated and returned by plugin

GetMessagePartFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, RFile &)

TInt GetMessagePartFileL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aMessagePartId,
RFile &aFileHandle
)[pure virtual]

Retrieves a read-only file handle for the content file of this message part. Should return KErrNotSupported if handle can not be given directly. In that case FW will next ask to copy file to a temporary location so that FW can open the RFile itself. Ownership of the handle is transferred. Caller is responsible for closing the handle.

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email part belongs to
const TFSMailMsgId & aMessagePartIdid of the message part
RFile & aFileHandlereturns the opened read-only file handle

GetMessagesL(const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &, RPointerArray< CFSMailMessage > &, const TFSMailDetails)

voidGetMessagesL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const RArray< TFSMailMsgId > &aMessageIds,
RPointerArray< CFSMailMessage > &aMessageList,
const TFSMailDetailsaDetails
)[pure virtual]

Parameters

const TFSMailMsgId & aMailBoxId
const TFSMailMsgId & aParentFolderId
const RArray< TFSMailMsgId > & aMessageIds
RPointerArray< CFSMailMessage > & aMessageList
const TFSMailDetails aDetails

GetMrusL(const TFSMailMsgId &)

MDesCArray *GetMrusL(const TFSMailMsgId &aMailBoxId)[pure virtual]

Get a list of most recently used addresses of desired mailbox. Each MRU entry consists of two descriptors placed sequentially in the array. First one is the display name and the second one is the actual email address. If for example some entry does not contain a name at all then a KNullDesC is found in place of the name.

The function will leave with KErrNotFound if a mailbox with given id is not found.

Parameters

const TFSMailMsgId & aMailBoxIdtarget mailbox id

GetStandardFolderIdL(const TFSMailMsgId &, const TFSFolderType)

TFSMailMsgId GetStandardFolderIdL(const TFSMailMsgId &aMailBoxId,
const TFSFolderTypeaFolderType
)[pure virtual]

returns folder id of given standard folder

return folder id

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where folder is located
const TFSFolderType aFolderTypefolder type

GoOfflineL(const TFSMailMsgId &)

voidGoOfflineL(const TFSMailMsgId &aMailBoxId)[pure virtual]

Disables mailbox synchronization. Connection by the plugin to synchronize identified mailbox is not allowed after this.

If GoOnlineL has effect on other mailboxes of the same plugin then this function has effect on those mailboxes also.

Parameters

const TFSMailMsgId & aMailBoxIdmailbox id request is accessed to

GoOnlineL(const TFSMailMsgId &)

voidGoOnlineL(const TFSMailMsgId &aMailBoxId)[pure virtual]

MAILBOX HANDLING API Enables synchronization of identified mailbox. This means that the plugin can connect to server to do synchronization of the mailbox when necessary or stay connected all the time. The actual functionality depends on user settings and plugin implementation.

All collections (mail etc.) supported by the plugin and enabled by user settings are synchronized.

This function sets identified mailbox online but it may have a side effect that also other mailboxes of the same plugin are set online.

Connection is set offline normally by using specific function for this purpose. There are also other reasons for ending up in offline state like network error or scheduling.

Parameters

const TFSMailMsgId & aMailBoxIdmailbox id request is accessed to

IsConnectionAllowedWhenRoaming(TFSMailMsgId, TBool &)

TInt IsConnectionAllowedWhenRoaming(TFSMailMsgIdaMailBoxId,
TBool &aConnectionAllowed
)[inline, virtual]

checks from plugin if connection is allowed when roaming

Parameters

TFSMailMsgId aMailBoxId
TBool & aConnectionAllowed

ListFoldersL(const TFSMailMsgId &, const TFSMailMsgId &, RPointerArray< CFSMailFolder > &)

voidListFoldersL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
RPointerArray< CFSMailFolder > &aFolderList
)[pure virtual]
Lists subfolders of given folder. Only direct subfolders of given folder are returned. Folder data :
  • folder id

  • folder name

  • folder type ; Inbox, Outbox, Sent, Drafts, Deleted, Other

  • message count

  • unread message count

  • mailbox id

  • parent folder

  • subfolder count

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where parent folder is located
const TFSMailMsgId & aParentFolderId
RPointerArray< CFSMailFolder > & aFolderListplugin writes results in this array owned by user

ListFoldersL(const TFSMailMsgId &, RPointerArray< CFSMailFolder > &)

voidListFoldersL(const TFSMailMsgId &aMailBoxId,
RPointerArray< CFSMailFolder > &aFolderList
)[pure virtual]
List all subfolders of given mailbox. folder data :
  • folder id

  • folder name

  • folder type ; Inbox, Outbox, Sent, Drafts, Deleted, Other

  • message count

  • unread message count

  • mailbox id

  • parent folder

  • subfolder count

Parameters

const TFSMailMsgId & aMailBoxIdmailbox id
RPointerArray< CFSMailFolder > & aFolderListplugin writes results in this array owned by user. Caller must determine tree structure by examining parent id of each returned folder.

ListImplementationsL(RPointerArray< CImplementationInformation > &)

voidListImplementationsL(RPointerArray< CImplementationInformation > &aInfo)[static, inline]

list plugin implementations

Parameters

RPointerArray< CImplementationInformation > & aInfoplugin implementation info

ListMailBoxesL(RArray< TFSMailMsgId > &)

voidListMailBoxesL(RArray< TFSMailMsgId > &aMailboxes)[pure virtual]

lists existing mailboxes contained by plugin

Parameters

RArray< TFSMailMsgId > & aMailboxes

ListMessagesL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailDetails, const RArray< TFSMailSortCriteria > &)

MFSMailIterator *ListMessagesL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aFolderId,
const TFSMailDetailsaDetails,
const RArray< TFSMailSortCriteria > &aSorting
)[pure virtual]

MESSAGE FETCH AND STORE List messages contained by given folder. Returns email list iterator to user.

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where parent folder is located
const TFSMailMsgId & aFolderIdfolder id of given folder
const TFSMailDetails aDetailsdefines which message details are included in messages EFSMsgDataIdOnly -> Doesn't get any data. The object just contains the ID. EFSMsgDataDate -> Get received date only. To be used when showing messages sorted by date. The rest would be retreived when needed but date is needed to build the list. EFSMsgDataSubject -> Like above but when sorting by subject EFSMsgDataSender -> Likewise for sender address. EFSMsgDataEnvelope, EFSMsgDataStructure -> email content type is returned by plugin
const RArray< TFSMailSortCriteria > & aSortingdescribes requested sort criteria (owned by user). First item in array is primary sort criteria.

MailboxHasCapabilityL(TFSMailBoxCapabilities, TFSMailMsgId)

TBool MailboxHasCapabilityL(TFSMailBoxCapabilitiesaCapability,
TFSMailMsgIdaMailBoxId
)[pure virtual]

checks if mailbox supports given capability

Parameters

TFSMailBoxCapabilities aCapabilitycapability to be checked
TFSMailMsgId aMailBoxIdid of the target mailbox

MessagePartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &)

CFSMailMessagePart *MessagePartL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aMessagePartId
)[pure virtual]

Returns given message part. Ownership of object is transferred to caller.

return email part object, ownership is transferred to user

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email part belongs to
const TFSMailMsgId & aMessagePartIdid of the message part

MoveMessagesL(const TFSMailMsgId &, const RArray< TFSMailMsgId > &, const TFSMailMsgId &, const TFSMailMsgId &)

voidMoveMessagesL(const TFSMailMsgId &aMailBoxId,
const RArray< TFSMailMsgId > &aMessageIds,
const TFSMailMsgId &aSourceFolderId,
const TFSMailMsgId &aDestinationFolderId
)[pure virtual]

Moves a messages between the given folders.

Parameters

const TFSMailMsgId & aMailBoxIdid of the target mailbox
const RArray< TFSMailMsgId > & aMessageIdsids of the messages to be transferred owned by user
const TFSMailMsgId & aSourceFolderIdsource folder id
const TFSMailMsgId & aDestinationFolderIddestination folder id

MoveMessagesL(const TFSMailMsgId &, const RArray< TFSMailMsgId > &, const TFSMailMsgId &, const TFSMailMsgId &, MFSMailRequestObserver &, TInt)

TInt MoveMessagesL(const TFSMailMsgId &,
const RArray< TFSMailMsgId > &,
const TFSMailMsgId &,
const TFSMailMsgId &,
MFSMailRequestObserver &,
TInt
)[inline, virtual]

Moves a messages between the given folders. Async version.

Parameters

const TFSMailMsgId &
const RArray< TFSMailMsgId > &
const TFSMailMsgId &
const TFSMailMsgId &
MFSMailRequestObserver &
TInt

NewChildPartFromFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &, const TDesC &)

CFSMailMessagePart *NewChildPartFromFileL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aParentPartId,
const TDesC &aContentType,
const TDesC &aFilePath
)[pure virtual]

Creates and adds a new child part from file to given email part.

return new child part object, ownership is transferred to user

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where parent part is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email parent part belongs to
const TFSMailMsgId & aParentPartIdid of the parent part of the new part
const TDesC & aContentTypecontent type of the new message part
const TDesC & aFilePathfile containing new child part contents

NewChildPartFromFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &, RFile &)

CFSMailMessagePart *NewChildPartFromFileL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aParentPartId,
const TDesC &aContentType,
RFile &aFile
)[pure virtual]

Creates and adds a new child part from file to given email part.

return new child part object, ownership is transferred to user

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where parent part is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email parent part belongs to
const TFSMailMsgId & aParentPartIdid of the parent part of the new part
const TDesC & aContentTypecontent type of the new message part
RFile & aFileaccess to file containing new child part contents, ownership is transferred

NewChildPartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &)

CFSMailMessagePart *NewChildPartL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aParentPartId,
const TFSMailMsgId &aInsertBefore,
const TDesC &aContentType
)[pure virtual]

Creates and adds a new child part to given email part.

return new child part object, ownership is transferred to user

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email email belongs to
const TFSMailMsgId & aParentPartIdid of the parent part of the new part
const TFSMailMsgId & aInsertBeforeid of existing part that new part should precede. If aInsertBefore is NULL id then new part is added as last.
const TDesC & aContentTypecontent type of the new message part

NewL(TUid)

CFSMailPlugin *NewL(TUidaUid)[static, inline]

two-phased constructor

Parameters

TUid aUid

RefreshNowL(const TFSMailMsgId &, MFSMailRequestObserver &, TInt)

voidRefreshNowL(const TFSMailMsgId &aMailBoxId,
MFSMailRequestObserver &aOperationObserver,
TIntaRequestId
)[pure virtual]

Forces synchronization of mailbox. This can be called whether the mailbox is currently offline or online. In case the mailbox is offline in the beginning, connection is made up for the time of the synchronization.

All collections (mail etc.) supported by the plugin and enabled by user settings are synchronized.

This is an asynchronous operation and the request id is returned for cancelling purpose.

Observer is given as a parameter to enable callbacks related to this operation. Alternatively user can use empty implementation of the observer function and rely only on events. Notice that the event system is not as comprehensive as the observing way do this.

Parameters

const TFSMailMsgId & aMailBoxIddefines mailbox
MFSMailRequestObserver & aOperationObserveris client provided observer that will receive progress notifications during the operation.
TInt aRequestIdidentifies asynchronous request if parallel requests exist

RemoveChildPartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &)

voidRemoveChildPartL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aParentPartId,
const TFSMailMsgId &aPartId
)[pure virtual]

Removes child part (and its children, if any) from given email part

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email parent part belongs to
const TFSMailMsgId & aParentPartIdid of the parent of the part
const TFSMailMsgId & aPartIdid of the part to removed

RemoveObserver(MFSMailEventObserver &)

voidRemoveObserver(MFSMailEventObserver &aObserver)[pure virtual]

Removes event observer

Parameters

MFSMailEventObserver & aObserverobserver implementation

RemovePartContentL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const RArray< TFSMailMsgId > &)

voidRemovePartContentL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const RArray< TFSMailMsgId > &aPartIds
)[pure virtual]

Removes fetched contents of these parts.

Parameters

const TFSMailMsgId & aMailBoxIddefines mailbox where message is located
const TFSMailMsgId & aParentFolderIddefines parent folder where message is located
const TFSMailMsgId & aMessageIdgives the id of the message that message part belongs to
const RArray< TFSMailMsgId > & aPartIdsmessage part ids to be removed

SearchL(const TFSMailMsgId &, const RArray< TFSMailMsgId > &, const RPointerArray< TDesC > &, const TFSMailSortCriteria &, MFSMailBoxSearchObserver &)

voidSearchL(const TFSMailMsgId &aMailBoxId,
const RArray< TFSMailMsgId > &aFolderIds,
const RPointerArray< TDesC > &aSearchStrings,
const TFSMailSortCriteria &aSortCriteria,
MFSMailBoxSearchObserver &aSearchObserver
)[pure virtual]

Search API Asyncronous call for starting search for given string. Only one search can be performed at a time.

This function will search for message's containing the given search string. The search will be performed on the all message fields: To, Cc, Bcc, subject, body. The search client will be notified of each found message, and upon completion of the search. Only one search can be performed at a time.

To change the sort order in the search result, use the same search string in the but change the aSortCriteria parameter. The store "caches" the search results generated by the same search string.

The function will leave with KErrInUse if a search is already in progress.

/note Only works if the store is in an authenticated state, otherwise this function leaves with KErrNotReady

aMailBoxId id of the mailbox where messages are to be searched

Parameters

const TFSMailMsgId & aMailBoxId
const RArray< TFSMailMsgId > & aFolderIdslist of folders where messages are to be searched global or folder specific search depends on the size of array is 0 or not.
const RPointerArray< TDesC > & aSearchStringstext strings that will be searched from different message fields.
const TFSMailSortCriteria & aSortCriteriasort criteria for the results
MFSMailBoxSearchObserver & aSearchObserverclient observer that will be notified about search status.

SendMessageL(CFSMailMessage &)

voidSendMessageL(CFSMailMessage &aMessage)[pure virtual]

Launches email sending in plugin, cancellation is deleting the message from outbox.

Parameters

CFSMailMessage & aMessageemail to be sent

SetContentL(const TDesC &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &)

voidSetContentL(const TDesC &aBuffer,
const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aMessagePartId
)[pure virtual]

stores email part content

Parameters

const TDesC & aBuffercontain email part content
const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email part belongs to
const TFSMailMsgId & aMessagePartIdid of the message part

SetCredentialsL(const TFSMailMsgId &, const TDesC &, const TDesC &)

voidSetCredentialsL(const TFSMailMsgId &aMailBoxId,
const TDesC &aUsername,
const TDesC &aPassword
)[pure virtual]

sets authentication popup data

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox
const TDesC & aUsernameemail account user name
const TDesC & aPasswordemail account password

SetMailboxName(const TFSMailMsgId &, const TDesC &)

voidSetMailboxName(const TFSMailMsgId &aMailboxId,
const TDesC &aMailboxName
)[pure virtual]

Sets the mailbox name for this mailbox.

Parameters

const TFSMailMsgId & aMailboxIdid of target mailbox
const TDesC & aMailboxNamenew name for the mailbox

SetMrusL(const TFSMailMsgId &, MDesCArray *)

voidSetMrusL(const TFSMailMsgId &aMailBoxId,
MDesCArray *aNewMruList
)[pure virtual]

Set a list of most recently used addresses for given mailbox. Each MRU entry consists of two descriptors placed sequentially in the array. First one is the display name and the second one is the actual email address. If for example some entry does not contain a name at all then a KNullDesC is found in place of the name.

The function will leave with KErrNotFound if a mailbox with given id is not found.

Parameters

const TFSMailMsgId & aMailBoxIdtarget mailbox id
MDesCArray * aNewMruListArray of descriptors containing MRUs. Empty if no entries are found.

SetPartContentFromFileL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, const TDesC &)

voidSetPartContentFromFileL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
const TFSMailMsgId &aMessagePartId,
const TDesC &aFilePath
)[pure virtual]

Sets email part contents from given file. Possible old contents are replaced.

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email part belongs to
const TFSMailMsgId & aMessagePartIdid of the message part
const TDesC & aFilePathsource file path

StatusL(const TInt)

TFSProgress StatusL(const TIntaRequestId)[pure virtual]

Returns pending asynchronous request status, request is identified by request id if parallel requests exists

Parameters

const TInt aRequestIdrequest id

StoreMessageL(const TFSMailMsgId &, CFSMailMessage &)

voidStoreMessageL(const TFSMailMsgId &aMailBoxId,
CFSMailMessage &aMessage
)[pure virtual]

stores email object data to message store after modifications (commit)

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is stored
CFSMailMessage & aMessageemail data to be stored by plugin

StoreMessagePartL(const TFSMailMsgId &, const TFSMailMsgId &, const TFSMailMsgId &, CFSMailMessagePart &)

voidStoreMessagePartL(const TFSMailMsgId &aMailBoxId,
const TFSMailMsgId &aParentFolderId,
const TFSMailMsgId &aMessageId,
CFSMailMessagePart &aMessagePart
)[pure virtual]

stores email part object data to message store after modifications (commit)

Parameters

const TFSMailMsgId & aMailBoxIdid of the mailbox where email is located
const TFSMailMsgId & aParentFolderIdid of the parent folder where email is located
const TFSMailMsgId & aMessageIdid of the email part belongs to
CFSMailMessagePart & aMessagePartemail part data to be stored

SubscribeMailboxEventsL(const TFSMailMsgId &, MFSMailEventObserver &)

voidSubscribeMailboxEventsL(const TFSMailMsgId &aMailboxId,
MFSMailEventObserver &aObserver
)[pure virtual]

Subscribes events coming from given mailbox. UnsubscribeMailboxEvents MUST be called before destroying given observer object.

Parameters

const TFSMailMsgId & aMailboxIdid of target mailbox
MFSMailEventObserver & aObserverevent observer implementation

UnregisterRequestObserver(TInt)

voidUnregisterRequestObserver(TIntaRequestId)[pure virtual]

unregisters request observer to cancel pending events

Parameters

TInt aRequestIdrequest id of the pending asynchronous request

UnsubscribeMailboxEvents(const TFSMailMsgId &, MFSMailEventObserver &)

voidUnsubscribeMailboxEvents(const TFSMailMsgId &aMailboxId,
MFSMailEventObserver &aObserver
)[pure virtual]

Unsubscribes events from given mailbox

Parameters

const TFSMailMsgId & aMailboxIdid of target mailbox
MFSMailEventObserver & aObserverevent observer

WizardDataAvailableL()

TInt WizardDataAvailableL()[pure virtual]

Gives notification that new account data may be available from Email Wizard. Plugin must check if there is Wizard Data available for it and create new account if necessary. If plugin does not support Email Wizard this function can just return immediately.

Should return KErrNone if no data found or configuration was successful. otherwise any of the standard Symbian error codes.

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]

instance identifier key for destructor