When the Send event is fired Outlook will change the HTML unfortunately.
It's part of the repagination process that goes on when send is called and
the item is sent to the mail transport.
That happened even in WordMail 2003 but the limitations on HTML were looser
in that version so it wasn't usually noticed. Take a look at nicely crafter
HTML hand inserted into HTMLBody at the sender level and the received level
to see how much ugly Word HTML stuff is put in the message.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Mark J. McGinty" wrote in message
...
Have you tried going beneath OOM, using
Redemption.MAPIUtility.HrSetOneProp (or equivalent extended MAPI call)?
Maybe that would bypass Outlook's foolishness and write it straight to the
store?
Whether it would work depends on when/where Outlook imposes it's view of
'correctness' on your content -- if it applies changes at the transport
layer, you're screwed; if it fixes it up when it renders, you're equally
screwed (though only on Outlook 2007 email clients.)
Just a shot in the dark, hope it helps.
-Mark