Location:
POPCMTM.H
Link against: imcm.lib
class CPop3ClientMtm : public CBaseMtm;
POP3 client MTM interface.
Most of the functions in this class are implementations of the virtual functions defined by the base class CBaseMtm
.
MMsvEntryObserver
- Provides the interface for notification of events associated with an entry
CBase
- Base class for all classes to be instantiated on the heap
CBaseMtm
- Provides a high-level interface for accessing and manipulating a Message Server entry
CPop3ClientMtm
- POP3 client MTM interface
Defined in CPop3ClientMtm
:
AddAddresseeL()
, AddAddresseeL()
, AddAttachmentL()
, AddAttachmentL()
, AddEntryAsAttachmentL()
, AddLinkedAttachmentL()
, ChangeDefaultServiceL()
, ContextEntrySwitched()
, CreateAttachmentL()
, CreateMessageL()
, DefaultServiceL()
, EForwardedEmail
, EReceiptToEmail
, EReplyToEmail
, Find()
, ForwardL()
, InvokeAsyncFunctionL()
, InvokeSyncFunctionL()
, LoadMessageL()
, QueryCapability()
, RemoveAddressee()
, RemoveDefaultServiceL()
, ReplyL()
, RestoreSettingsL()
, SaveMessageL()
, SetSettingsL()
, Settings()
, StoreSettingsL()
, TImPopcNewEmailHeaderType
, ValidateMessage()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CBaseMtm
:
AddresseeList()
,
BioTypeChangedL()
,
Body()
,
CancelAttachmentOperation()
,
Entry()
,
Filler1()
,
Filler2()
,
GetInterface()
,
HandleEntryEventL()
,
HasContext()
,
RestoreBodyL()
,
Session()
,
SetCurrentEntryL()
,
SetSubjectL()
,
StoreBodyL()
,
SubjectL()
,
SwitchCurrentEntryL()
,
Type()
,
iAddresseeList
,
iCharFormatLayer
,
iMsvEntry
,
iParaFormatLayer
Inherited from MMsvEntryObserver
:
EMsvChildrenChanged
,
EMsvChildrenInvalid
,
EMsvChildrenMissing
,
EMsvContextInvalid
,
EMsvDeletedChildren
,
EMsvEntryChanged
,
EMsvEntryDeleted
,
EMsvEntryMoved
,
EMsvNewChildren
,
TMsvEntryEvent
virtual void SaveMessageL();
Client MTM base class function, with an empty implementation.
virtual void LoadMessageL();
Loads the cache with the message data for the current context.
IMPORT_C void StoreSettingsL();
Stores the current service settings from the object's cache in to the Central Repository for the current entry.
The current entry must be a service.
IMPORT_C void RestoreSettingsL();
Loads into the object's cache the service settings from the Central Repository for the current entry.
The current entry must be a service.
virtual CMsvOperation *ReplyL(TMsvId aId, TMsvPartList aPartlist, TRequestStatus &aCompletionStatus);
Creates a reply message to the current message context.
The reply is an SMTP message.
|
|
virtual CMsvOperation *ForwardL(TMsvId aId, TMsvPartList aPartList, TRequestStatus &aCompletionStatus);
Creates a forwarded message from the current message context.
The forwarded message is an SMTP message.
|
|
virtual TUint ValidateMessage(TMsvPartList aPartList);
Client MTM base class function, with an empty implementation.
|
|
virtual TMsvPartList Find(const TDesC &aTextToFind, TMsvPartList aPartList);
Searches the specified message part(s) for the plain-text version of the text to be found.
|
|
virtual void AddAddresseeL(const TDesC &aRealAddress);
Adds an addressee for the current context.
|
virtual void AddAddresseeL(const TDesC &aRealAddress, const TDesC &aAlias);
Adds an addressee with an alias for the current context.
|
virtual void RemoveAddressee(TInt aIndex);
Removes an address from the current address list.
|
IMPORT_C void SetSettingsL(const CImPop3Settings &aSettings);
Copies the specified service settings to the cached service settings.
|
IMPORT_C const CImPop3Settings &Settings() const;
Gets the current cached service settings.
|
virtual TInt QueryCapability(TUid aCapability, TInt &aResponse);
Queries if the MTM supports a particular capability, specified by a UID.
|
|
virtual void InvokeSyncFunctionL(TInt aFunctionId, const CMsvEntrySelection &aSelection, TDes8 &aParameter);
Invokes synchronous POP3-specific operations.
|
virtual CMsvOperation *InvokeAsyncFunctionL(TInt aFunctionId, const CMsvEntrySelection &aSelection, TDes8 &aParameter, TRequestStatus
&aCompletionStatus);
Invokes asynchronous POP3-specific operations.
|
|
|
virtual IMPORT_C void AddAttachmentL(const TDesC &aFilePath, const TDesC8 &aMimeType, TUint aCharset, TRequestStatus &aStatus);
Unsupported client MTM base class function.
|
virtual IMPORT_C void AddAttachmentL(RFile &aFile, const TDesC8 &aMimeType, TUint aCharset, TRequestStatus &aStatus);
Unsupported client MTM base class function.
|
virtual IMPORT_C void AddLinkedAttachmentL(const TDesC &aFilePath, const TDesC8 &aMimeType, TUint aCharset, TRequestStatus
&aStatus);
Unsupported client MTM base class function.
|
virtual IMPORT_C void AddEntryAsAttachmentL(TMsvId aAttachmentId, TRequestStatus &aStatus);
Unsupported client MTM base class function.
|
virtual EXPORT_C void CreateAttachmentL(const TDesC &aFileName, RFile &aAttachmentFile, const TDesC8 &aMimeType, TUint aCharset,
TRequestStatus &aStatus);
Unsupported client MTM base class function.
|
virtual IMPORT_C void CreateMessageL(TMsvId aServiceId);
Unsupported client MTM base class function.
|
virtual IMPORT_C TMsvId DefaultServiceL() const;
Gets the default POP service.
KErrNotFound If default service setting does not exist.
|
|
virtual IMPORT_C void ChangeDefaultServiceL(const TMsvId &aService);
Sets the default POP service.
|
protected: virtual void ContextEntrySwitched();
Called by the base class functions SwitchCurrentEntryL()
and SetCurrentEntryL()
when the context is changed to another entry.
Client applications do not use this function. It is relevant only to implementers of derived classes.
Requirements:
An implementation should clear:
1. address data stored in iAddresseeList
2. any caches of MTM-specific entry data relating to a previous context. For example, if the implementation has a private buffer storing a message subject, for access through Subject(), this buffer should be cleared.