Read-only archive of the All About Symbian forum (2001–2013) · About this archive

how to retrieve objects from MMS ?

1 replies · 1,773 views · Started 21 July 2004

Hi,

I have this code for retrieve objects of MMS

void CMms::MessageReceivedL(TMsvId aMessageEntry) { 
SetMtmEntryL(aMessageEntry);
iMmsMtm->LoadMessageL();

CMsvEntrySelection* iObjects = iMmsMtm->GetAttachmentsL();
CleanupStack::PushL(iObjects);

if(iObjects->Count() > 0) {
for(TInt i=0;i<iObjects->Count();i++) {
TFileName aFilePath;
iMmsMtm->GetAttachmentPathL((TMsvId)iObjects->At(i), aFilePath);
CleanupStack::Pop(iObjects);

// processing with aFilePath
}
}
}

but I retrieve only the SMIL source, without error !
How to retrieve all objects ?

Thanks for your help