I have to calculate a “response time” to mails at the moment that a Forward or Reply mail is sent, and write the calculated result and some other data to fields on the original message.
The calculation includes adjustments for holidays and weekends, and the original message is updated only PostSend, not PostSave – when a Reply is saved as draft, nothing is calculated or changed on the original message.
The problem: I am trying to get a good handle to the original message. $REF is only available after saving, and Forward documents do not get a $REF.
I don’t know how $Orig and $MessageID are used by the standard mail functionality, but could one of these be used in some way to add a ParentID to the Forward or Reply documents so that it is available PostSend?