p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_codeclinic thread: Rendering attachments

Message #1 by "Julian Dobson" <juliand@w...> on Fri, 6 Apr 2001 19:28:00
It seems that the objectRenderer doesn't know how to render embedded 

I have found though, that I can check the attachment type and if 4 (an 
embedded message), I can use the Source parameter to return a message 
object to my code. With this object, I can do almost anything I want - get 
the subject and sender properties, etc. The only thing that I can't do is 
render the message body!

I can get the message body with the Text member, but

objRenderer.RenderProperty(CdoPR_BODY, 0, Response);

gives an error, as does CdoPR_RTF_COMPRESSED.

Does anyone have any idea as to what I'm doing wrong?

Thanks in advance,


  Return to Index