none
Outlook 2003 Add-In - MailItem.HtmlBody is not XHtml format

    Question

  • Hi,

    Is there a way to get the HtmlBody of a MailItem to conform to XHtml format (e.g. attributes in quotations, begin/end tags, etc) or is there a way to "fix" it manually in code?  

    Thanks.

    Wednesday, December 01, 2010 11:02 PM

Answers

  • No, Outlook will reformat anything you do with the HTML to conform to its own standards.

    --
    Ken Slovak
    [MVP - Outlook]
    http://www.slovaktech.com
    Author: Professional Programming Outlook 2007.
    Reminder Manager, Extended Reminders, Attachment Options.
    http://www.slovaktech.com/products.htm
     
     
    "KTNguyen" <=?utf-8?B?S1ROZ3V5ZW4=?=> wrote in message news:856bced3-2456-48c3-9e5d-a4da213cc1a0...

    Hi,

    Is there a way to get the HtmlBody of a MailItem to conform to XHtml format (e.g. attributes in quotations, begin/end tags, etc) or is there a way to "fix" it manually in code?  

    Thanks.


    Ken Slovak MVP - Outlook
    • Marked as answer by Bessie Zhao Monday, December 13, 2010 11:16 AM
    Wednesday, December 01, 2010 11:54 PM