![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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 ...
CPop3ClientMtm
- POP3 client MTM interface.
Defined in CPop3ClientMtm
:
AddAddresseeL(const TDesC &)
Adds an addressee for the current context.AddAddresseeL(const TDesC &,const TDesC &)
Adds an addressee with an alias for the current context.AddAttachmentL(RFile &,const TDesC8 &,TUint,TRequestStatus &)
Unsupported client MTM base class function.AddAttachmentL(const TDesC &,const TDesC8 &,TUint,TRequestStatus &)
Unsupported client MTM base class function.AddEntryAsAttachmentL(TMsvId,TRequestStatus &)
Unsupported client MTM base class function.AddLinkedAttachmentL(const TDesC &,const TDesC8 &,TUint,TRequestStatus &)
Unsupported client MTM base class function.ChangeDefaultServiceL(const TMsvId &)
Sets the default POP service.ContextEntrySwitched()
Called by the base class functions CBaseMtm::SwitchCurrentEntryL(TMsvId) and CBa...CreateAttachmentL(const TDesC &,RFile &,const TDesC8 &,TUint,TRequestStatus &)
Unsupported client MTM base class function.CreateMessageL(TMsvId)
Unsupported client MTM base class function.DefaultServiceL()const
Gets the default POP service.EForwardedEmail
EReceiptToEmail
EReplyToEmail
Find(const TDesC &,TMsvPartList)
Searches the specified message part(s) for the plain-text version of the text to...ForwardL(TMsvId,TMsvPartList,TRequestStatus &)
Creates a forwarded message from the current message context.InvokeAsyncFunctionL(TInt,const CMsvEntrySelection &,TDes8 &,TRequestStatus &)
Invokes asynchronous POP3-specific operations.InvokeSyncFunctionL(TInt,const CMsvEntrySelection &,TDes8 &)
Invokes synchronous POP3-specific operations.LoadMessageL()
Loads the cache with the message data for the current context. QueryCapability(TUid,TInt &)
Queries if the MTM supports a particular capability, specified by a UID.RemoveAddressee(TInt)
Removes an address from the current address list.RemoveDefaultServiceL()
Removes the default POP service. ReplyL(TMsvId,TMsvPartList,TRequestStatus &)
Creates a reply message to the current message context.RestoreSettingsL()
Loads into the object's cache the service settings from the Central Repository f...SaveMessageL()
Client MTM base class function, with an empty implementation. SetSettingsL(const CImPop3Settings &)
Copies the specified service settings to the cached service settings.Settings()const
Gets the current cached service settings.StoreSettingsL()
Stores the current service settings from the object's cache in to the Central Re...TImPopcNewEmailHeaderType
ValidateMessage(TMsvPartList)
Client MTM base class function, with an empty implementation.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CBaseMtm
:
AddAddresseeL(TMsvRecipientType,const TDesC &)
Adds addressee to list.AddAddresseeL(TMsvRecipientType,const TDesC &,const TDesC &)
Adds addressee to list.AddresseeList()const
Gets the list of intended recipients for the current context, which must be a me...BioTypeChangedL(TUid)
Informs client-side MTM that the context's BIO field is being changed as a resul...Body()
Gets the body text of the context, that must be a message. For non-message conte...Body()const
Gets the read-only body text of the context, that must be a message. For non-mes...CBaseMtm(CRegisteredMtmDll &,CMsvSession &)
Creates a CBaseMtm with member variables initialised from the passed arguments.CancelAttachmentOperation()
Cancels the current attachment operation. Entry()const
Gets a CMsvEntry for the current context. The message client application can the...Extension_(TUint,TAny *&,TAny *)
The default Extension service. The default implementation of this function assum...Filler1()
Filler2()
GetInterface(TUid)
Returns a pointer to the interface with the specified Uid.HandleEntryEventL(TMsvEntryEvent,TAny *,TAny *,TAny *)
Indicates that an event has occurred.HasContext()const
Tests if an MTM context has been set.RestoreBodyL(CMsvStore &)
Gets the current cached CRichText from the appropriate stream in the specified m...Session()
Gets a reference to the session object passed by the creator of the Client-side ...SetCurrentEntryL(CMsvEntry *)
Sets the entry on which later actions are performed to the specified CMsvEntry.SetMessageCharacterSet(TUint)
Sets the character encoding value. The character encoding value options are 7-bi...SetSubjectL(const TDesC &)
Sets the subject text of the context, which must be a message.StoreBodyL(CMsvStore &)
Stores and commits the current cached CRichText body text to the appropriate str...SubjectL()const
Gets the subject text of the context, which must be a message.SwitchCurrentEntryL(TMsvId)
Changes the entry on which later actions are performed to the entry with the spe...Type()const
Gets the Type UID of the message type associated with the Client-side MTM.iAddresseeList
The address list for the current context. iCharFormatLayer
Character formatting applied to the CRichText object for the body text, as retur...iMsvEntry
The current context. iParaFormatLayer
Paragraph formatting applied to the CRichText object for the body text, as retur...Inherited from MMsvEntryObserver
:
EMsvChildrenChanged
One or more of the children have been changed. aArg1 points to a CMsvEntrySelect...EMsvChildrenInvalid
An error has occurred such that the status of the children is unknown and probab...EMsvChildrenMissing
Some new children have been created, but CMsvEntry was unable to retrieve the da...EMsvContextInvalid
The context has become invalid. The entry has been changed, but the CMsvEntry wa...EMsvDeletedChildren
Children have been deleted. aArg1 points to a CMsvEntrySelection contain the ID ...EMsvEntryChanged
The entry has been changed, either as a result of a CMsvEntry::ChangeL(const TMs...EMsvEntryDeleted
The entry has been deleted by another client. The context is now invalid. EMsvEntryMoved
The current entry has been moved by another client. The CMsvEntry has already be...EMsvNewChildren
New children have been created. aArg1 points to a CMsvEntrySelection contain the...TMsvEntryEvent
Defines entry event types. 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.
|
|
|
TImPop3GetMailInfo
Use to specify the maximum message size and the destination folder ID for certai...TPop3Cmds
POP3-specific commands that can be issued through CPop3ClientMtm::InvokeAsyncFun...IMPORT_C virtual void AddAttachmentL(const TDesC &aFilePath, const TDesC8 &aMimeType, TUint aCharset, TRequestStatus &aStatus);
Unsupported client MTM base class function.
|
IMPORT_C virtual void AddAttachmentL(RFile &aFile, const TDesC8 &aMimeType, TUint aCharset, TRequestStatus &aStatus);
Unsupported client MTM base class function.
|
IMPORT_C virtual void AddLinkedAttachmentL(const TDesC &aFilePath, const TDesC8 &aMimeType, TUint aCharset, TRequestStatus
&aStatus);
Unsupported client MTM base class function.
|
IMPORT_C virtual void AddEntryAsAttachmentL(TMsvId aAttachmentId, TRequestStatus &aStatus);
Unsupported client MTM base class function.
|
EXPORT_C virtual void CreateAttachmentL(const TDesC &aFileName, RFile &aAttachmentFile, const TDesC8 &aMimeType, TUint aCharset,
TRequestStatus &aStatus);
Unsupported client MTM base class function.
|
IMPORT_C virtual void CreateMessageL(TMsvId aServiceId);
Unsupported client MTM base class function.
|
IMPORT_C virtual TMsvId DefaultServiceL() const;
Gets the default POP service.
KErrNotFound If default service setting does not exist.
|
|
IMPORT_C virtual void ChangeDefaultServiceL(const TMsvId &aService);
Sets the default POP service.
|
protected: virtual void ContextEntrySwitched();
Called by the base class functions CBaseMtm::SwitchCurrentEntryL(TMsvId)
and CBaseMtm::SetCurrentEntryL(CMsvEntry *)
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.
Interface status: | deprecated |
TImPopcNewEmailHeaderType
|