Is it possible to override the Plain Text representation of HTML email body RRS feed

  • Question

  • Using the EWS (not the managed API).

    When creating a MessageType with a HTML body as follows:

    message.Body = new BodyType();
    message.Body.BodyType1 = BodyTypeType.HTML;
    message.Body.Value = "content...";

    Exchange appears to generate a best guess plain text version of the HTML.  This is not always formatted the way I want so I want to override that plain text representation so my application can allow the user to enter a plain text version and a HTML version of the same e-mail.  Is it possible to specify both a HTML body type and a plain text body type?


    Tuesday, December 21, 2010 3:28 PM