-Application Summary-We have an Domino database that was originally built for R5. The database has an agent that creates a document (saves it to the database) and copies it into mail.box to be routed as an email. The database also contains “message template” documents. These documents contain a pre-formatted body that will be appended to the newly created document prior to copying it into mail.box.
After the agent saves the document it opens it using the C API. The agent gets a handle to the corresponding message template and uses NSFItemAppend to add the pre-formatted body to the new document. We use TYPE_MIME_PART as the item type since the Body from the message template is saved as a MIME_PART.
-Problem-
It seems that after we upgraded the server from R5 to 8.0.2 the NSFItemAppend call copies over more than the Body field from the message template. If we look at the document properties of the message (after being received by the recipient) all of the fields from the message template have been copied over, including the LastModified. This is how we noticed there was a problem. Some of these message templates were last modified 4 years ago. For some strange reason the router sets the PostedDate equal to the LastModified when it sends out the message. As a result the recipient sees a display date that shows the message arriving 4 years ago.
Has anyone come across this before? Has the HSFItemAppend functionality changed with 8.0.2? Could the problem have something to do with the MIME_PART from the message template?