×

Discussion Board

Results 1 to 5 of 5

Thread: SMS subject

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    9

    SMS subject

    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
    Join Date
    Feb 2005
    Posts
    328

    Message server

    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
    Registered User
    Join Date
    Mar 2005
    Posts
    9
    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
    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
    Registered User
    Join Date
    Mar 2005
    Posts
    9

    BIG THANX

    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
  •  
×