Would like to confirm if is this behaviour is correct (or a bug?)...
- As a simple test, basing off the Extmail c api sample, do the following at EM_BEFORE condition:
*pModified = TRUE;
NSFItemSetText(hNote, MAIL_BODY_ITEM, "Simple Test", MAXWORD);
break; /* to skip rest of sample code */
- The mail in the Sent view retains the original mail body, and does NOT contain the new body text.
- The mail received by the recipient contains the new body text.
It seems that when the EMhandler exits, the original message body is updated back into the mail body at the Sent view (the $Revisions seq num value seems to confirm this), while the modified version gets sent out to the recipient.
Sounds like a bug?