Hi Guys I'm still struggling with HTML message bodies in my MAPI store provider in Outlook 2003. I've tried using PR_RTF_COMPRESSED. This works provided that the body is pure RTF and not HTML encoded to RTF. If I have a PR_HTML body stored as a stream, Outlook 2003 reads the the first 4096 bytes of the stream and then proceeds to read the plaintext body. If I have the PR_RTF_COMPRESSED property this works provided that the body is pure RTF. If I place an HTML converted to an RTF body, Outlook 2003 reads the whole thing and then proceeds to read the plaintext body. I just don't get this. For some reason HTML bodies are not working with Outlook 2003 with my store whether they're plain HTML or HTML encoded RTF I've set the InetMailOverrideFormat and the MSG_EDITOR_FORMAT flags. If I hit forward or reply to a message in my store, the resulting email renders in HTML. This is using the default IPM.Note message class. All of this works perfectly with Outlook 2007 for some reason. HTML renders wonderfully. I'm wondering whether this is a security issue relating to HTML message bodies or something. I don't have any scripts or anything in my bodes. Even a simple case such as <html><body><b>Bold</b></body></html> will not work in OL2003. Outlook 2007 uses Word 2007's HTML rendering engine instead of IE so this could be part of the problem. Cheers Win.
Hi I also notice that my messages don't have an HTML editor property in the OOM Inspector object. How would I set this property for my message store? Cheers Win "Windoze" wrote in message news:ed3zuYWQIHA.5184@TK2MSFTNGP05.phx.gbl... > Hi Guys > > I'm still struggling with HTML message bodies in my MAPI store provider in > Outlook 2003. > > I've tried using PR_RTF_COMPRESSED. This works provided that the body is > pure RTF and not HTML encoded to RTF. > > If I have a PR_HTML body stored as a stream, Outlook 2003 reads the the > first 4096 bytes of the stream and then proceeds to read the plaintext > body. > > If I have the PR_RTF_COMPRESSED property this works provided that the body > is pure RTF. If I place an HTML converted to an RTF body, Outlook 2003 > reads the whole thing and then proceeds to read the plaintext body. I just > don't get this. For some reason HTML bodies are not working with Outlook > 2003 with my store whether they're plain HTML or HTML encoded RTF I've set > the InetMailOverrideFormat and the MSG_EDITOR_FORMAT flags. If I hit > forward or reply to a message in my store, the resulting email renders in > HTML. This is using the default IPM.Note message class. > > All of this works perfectly with Outlook 2007 for some reason. HTML > renders wonderfully. > > I'm wondering whether this is a security issue relating to HTML message > bodies or something. I don't have any scripts or anything in my bodes. > Even a simple case such as <html><body><b>Bold</b></body></html> will not > work in OL2003. Outlook 2007 uses Word 2007's HTML rendering engine > instead of IE so this could be part of the problem. > > Cheers > Win. >
Hi Guys I got HTML message bodies to work in Outlook 2003 at last thanks to this article: http://blogs.msdn.com/pcreehan/archive/2008/01/10/help-outlook-2003-doesn-t-display-my-html-body.aspx?CommentPosted=true#commentmessage It turns out that my entry ID was longer than 100 characters. OL2003 generates a URL for IE to render the message with and when the entry ID is longer thana 100 characters, this causes a failure. Ah well. Cheers Win "Windoze" wrote in message news:ed3zuYWQIHA.5184@TK2MSFTNGP05.phx.gbl... > Hi Guys > > I'm still struggling with HTML message bodies in my MAPI store provider in > Outlook 2003. > > I've tried using PR_RTF_COMPRESSED. This works provided that the body is > pure RTF and not HTML encoded to RTF. > > If I have a PR_HTML body stored as a stream, Outlook 2003 reads the the > first 4096 bytes of the stream and then proceeds to read the plaintext > body. > > If I have the PR_RTF_COMPRESSED property this works provided that the body > is pure RTF. If I place an HTML converted to an RTF body, Outlook 2003 > reads the whole thing and then proceeds to read the plaintext body. I just > don't get this. For some reason HTML bodies are not working with Outlook > 2003 with my store whether they're plain HTML or HTML encoded RTF I've set > the InetMailOverrideFormat and the MSG_EDITOR_FORMAT flags. If I hit > forward or reply to a message in my store, the resulting email renders in > HTML. This is using the default IPM.Note message class. > > All of this works perfectly with Outlook 2007 for some reason. HTML > renders wonderfully. > > I'm wondering whether this is a security issue relating to HTML message > bodies or something. I don't have any scripts or anything in my bodes. > Even a simple case such as <html><body><b>Bold</b></body></html> will not > work in OL2003. Outlook 2007 uses Word 2007's HTML rendering engine > instead of IE so this could be part of the problem. > > Cheers > Win. >
Cool! That's great to know! Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Windoze" wrote in message news:u7W5MUCXIHA.5448@TK2MSFTNGP04.phx.gbl... > Hi Guys > > I got HTML message bodies to work in Outlook 2003 at last thanks to this > article: > > http://blogs.msdn.com/pcreehan/archive/2008/01/10/help-outlook-2003-doesn-t-display-my-html-body.aspx?CommentPosted=true#commentmessage > > It turns out that my entry ID was longer than 100 characters. OL2003 > generates a URL for IE to render the message with and when the entry ID is > longer thana 100 characters, this causes a failure. > > Ah well. > > Cheers > Win > > > "Windoze" wrote in message > news:ed3zuYWQIHA.5184@TK2MSFTNGP05.phx.gbl... >> Hi Guys >> >> I'm still struggling with HTML message bodies in my MAPI store provider >> in Outlook 2003. >> >> I've tried using PR_RTF_COMPRESSED. This works provided that the body is >> pure RTF and not HTML encoded to RTF. >> >> If I have a PR_HTML body stored as a stream, Outlook 2003 reads the the >> first 4096 bytes of the stream and then proceeds to read the plaintext >> body. >> >> If I have the PR_RTF_COMPRESSED property this works provided that the >> body is pure RTF. If I place an HTML converted to an RTF body, Outlook >> 2003 reads the whole thing and then proceeds to read the plaintext body. >> I just don't get this. For some reason HTML bodies are not working with >> Outlook 2003 with my store whether they're plain HTML or HTML encoded RTF >> I've set the InetMailOverrideFormat and the MSG_EDITOR_FORMAT flags. If I >> hit forward or reply to a message in my store, the resulting email >> renders in HTML. This is using the default IPM.Note message class. >> >> All of this works perfectly with Outlook 2007 for some reason. HTML >> renders wonderfully. >> >> I'm wondering whether this is a security issue relating to HTML message >> bodies or something. I don't have any scripts or anything in my bodes. >> Even a simple case such as <html><body><b>Bold</b></body></html> will not >> work in OL2003. Outlook 2007 uses Word 2007's HTML rendering engine >> instead of IE so this could be part of the problem. >> >> Cheers >> Win. >> > >