I have problem with accessing recieved mms.
I can access sent mms (mms moved to sent folder) with:
if (*(static_cast<TMsvId*>(aArg2)) == KMsvSentEntryId)
CMsvEntrySelection* entries = static_cast <CMsvEntrySelection*> (aArg1);
for ( TInt i( 0 ); i < entries->Count(); i++ )
const TMsvId id = (*entries)[i]; CMsvEntry* msvEntry = iSession->GetEntryL(id);
if (msvEntry->Entry().iMtm == KUidMsgTypeMultimedia)
CMsvStore* store = msvEntry->ReadStoreL();
MMsvAttachmentManager& attMngr = store->AttachmentManagerL();
TInt attcount = attMngr.AttachmentCount();
for(TInt j=0; j<attcount; j++)
RFile attachmentFile = attMngr.GetAttachmentFileL(j);
CMsvAttachment* attachment = attMngr.GetAttachmentInfoL(j);
TPtrC8 mimetype = attachment->MimeType();
TPtrC attachMentName = attachment->AttachmentName();
I thought I could to the same with mms message recieved. In case EMsvEntriesCreated and check on KMsvGlobalInBoxIndexEntryId? But when I do this, I get that the CMsvEntry has no store... But I have recieved a mms! Does anyone know what to do?