Hi,

I'writing some C++ code that receive a POP3 mail and load
some data in a DBMS inside Nokia 9210.

Problem:
When my function is called by OS...

on
....ProcessReceivedMessageL(const TMsvId& aEntryId)
...
iPOP3Mtm->SwitchCurrentEntryL(aEntryId);

i have an panic USER42.

I have declared:

...
CBaseMtm* iPOP3Mtm;
...

and:

...ConstructL()
{
....
// Create a session with the message server
iSession = CMsvSession::OpenSyncL(*iObserver);
// Create a client MTM registry
iClientMtmReg = CClientMtmRegistry::NewL(*iSession);
// Get a pointer to the local-service entry root
iEntry = iSession->GetEntryL(KMsvRootIndexEntryId);
// Create a client POP3 MTM
iPOP3Mtm = iClientMtmReg->NewMtmL(KUidMsgTypePOP3);
}

Question:
Why? I have used the same on code 'csmsmessagelink.cpp'
What differences on calling code?

Antonio
ABLE SRL
Italy