Discussion Board

Results 1 to 5 of 5

Thread: SMS subject

  1. #1
    Hi all,
    i need to change the subject of the diffrent SMS stored on the mobile. i know that diffrent information about the SMS's is stored in \\system\\mail\\index, but i don't know the format of this file so i can replace the existing subject with my subject. does anybody know how??

  2. #2
    Regular Contributor template60's Avatar
    Join Date
    Feb 2005
    Posts
    328
    Open a session with the message server

    see CMsvSession

    Then switch context to the inbox

    see CMsvEntry

    Then edit the SMS you want

    see TMsvEntry (iDescription used as subject I think)

  3. #3
    thanx alot, this API is a great help, but i tried to use CbaseMtm::SetSubjectL() bnut it didn't work, i read i must also change TMsvEntry::iDescription, but how can i change this if its from type TPtrC??

  4. #4
    Regular Contributor template60's Avatar
    Join Date
    Feb 2005
    Posts
    328
    iDescription.Set(aDescriptor);

    just remember to call CMsvEntry::ChangeL() to commit the change before aDescriptor goes out of scope.

  5. #5
    THANX ALOT, it worked perfectly.....................

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved