Cannot delete messaging folder!
Here is a code, how I create the folder on My Folders:
CMsvEntry* iMsvEntry = CMsvEntry::NewL(*iSession,
_LIT(folderName, "Folder 2");
folderentry.iType = KUidMsvFolderEntry;
folderentry.iMtm = KUidMsvLocalServiceMtm;
folderentry.iServiceId = iSmsMtm->ServiceId();
folderentry.iSize = sizeof(folderentry);
folderentry.iDate = date;
The folder creates Ok, but when I try to delete this folder on messaging app, it cannot be deleted, there's access denied error. What is the problem? What I'm doing wrong? What should I add to my code?