locked
wm5/6 ~ adding custom properties to email RRS feed

  • Question

  • am trying to add some meta-data (a unique id) to email items residing in the activesync store on the mobile device .
    am using cemapi,  IMAPIProp::SetProps.

    so far i have tried & failed to:
     create my own custom named props on existing property classes (eg: PR_INTERNET_HEADERS)
     create my own custom property class (CoCreateGuid, IMAPIProp::GetIDsFromNames, etc)

    maybe (ever hopeful) i can set/appropriate some predefined MAPI property? 

    Is this in anyway possible for email? -i know it is for PIM items such as tasks -surely i'm allowed to set my own x-headers somehow????
    Ideally, I'd like to be able to set a custom GUID in existing mail items & get that synced back to the exchange server without my custom data being stripped out.
    But, but, but, would be more than happy to settle for only being able to set a custom GUID in mail items that i've created.






    Tuesday, June 2, 2009 2:37 PM

Answers

  • for anyone that wants to know,

    on wm5/6 you can add x-headers (PS_INTERNET_HEADERS) to mail ur creating by setting the undocumented PR_CE_XHEADERS proptag. Its defined in cemapi.h.
    But hurry! ~ ms is clamping down on x-headers, see here

    vxx.
    • Marked as answer by violet313 Monday, June 8, 2009 11:30 PM
    Monday, June 8, 2009 11:30 PM