×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    12

    Accessing recieved mms

    Hi,

    I have problem with accessing recieved mms.
    I can access sent mms (mms moved to sent folder) with:

    case EMsvEntriesMoved:
    {
    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);
    CleanupStack::PushL(msvEntry);

    if (msvEntry->Entry().iMtm == KUidMsgTypeMultimedia)
    {
    if (msvEntry->HasStoreL())
    {
    CMsvStore* store = msvEntry->ReadStoreL();
    CleanupStack::PushL(store);

    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?

    Thanks!
    Last edited by malsj0988; 2008-03-03 at 08:35.

  2. #2
    Registered User
    Join Date
    Feb 2008
    Posts
    12

    Re: Accessing recieved mms

    Ok, stupid of me...
    Solved it now.

    In EMsvEntriesChanged the whole message is accessable.

Similar Threads

  1. Is MMS a special SMS type ?
    By dbarne1 in forum General Messaging
    Replies: 2
    Last Post: 2007-03-27, 11:19
  2. What is MMS, EMS
    By roby2411 in forum General Messaging
    Replies: 0
    Last Post: 2006-12-24, 15:26
  3. Sending MMS to WAP 2.0 phones
    By jeremy.lee@redcoal.com in forum General Messaging
    Replies: 6
    Last Post: 2004-11-18, 09:13
  4. Recommended Sizes for MMS Image, Text and Layout
    By sguthery in forum General Messaging
    Replies: 3
    Last Post: 2003-08-22, 09:10
  5. 7210 MMS vs. 7650 MMS ...
    By poncha in forum General Messaging
    Replies: 1
    Last Post: 2002-12-19, 11:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×