Hello,
I would appreciate some advice on the best way to copy parts of an item.
I am implementing the Reply, Reply All, Forward logic.
Performing a Reply, Reply All, Forward button click results in me creating a new MailMessage item. I then take the original item which is an instance of MailMessageMixin and manually retrieve the values I need putting them in to the new MailMessage item. These values are in most cases altered in the new item. For example the body of the new message has ">" inserted in it and the subject has either "Re:" or "Fwd:"inserted in it.
Ok, so this works fine. Where I am not sure on the best way to proceed is on copying the stampness of the original MailMessageMixin item. The item could be an instance of MailedEvent, MailedTask, MailedTaskEvent etc.
What I want to do is create a new MailMessage but then take all the stamped information from the original MailMessageMixin and copy it to the new item.
I don't however want to copy any of the MailMessageMixin values only the values of the kinds that are stamped on the item.
Clouds are certainly a possibility. I have looked through the code base and can not see a clear example of what I am trying to do. I could use your suggestions at this point.
Thanks,
Brian