I am using WebDAV to retrieve e-mails from a folder. When I try to retrieve the Body of a non-deliverable report e-mail (the reply you get when you send an e-mail that bounces back), it returns an empty string. I am using the property name "x1000001e" and namespace is "http://schemas.microsoft.com/mapi/ proptag/". It returns the body for other messages fine, but just not non- deliverable replies. I have also tried using the wide body property x1000001f and that doesn't work either. Is there some other way to get the body for these messages?
This has been discussed in the past have a look at the old thread http://groups.google.com/group/microsoft.public.exchange2000.development/browse_thread/thread/73ceaa2516779889/40ecbf06b1fe8c65? and see if this helps. cheers Glen "Joe" wrote in message news:1171989672.514658.229210@t69g2000cwt.googlegroups.com... >I am using WebDAV to retrieve e-mails from a folder. When I try to > retrieve the Body of a non-deliverable report e-mail (the reply you > get when you send an e-mail that bounces back), it returns an empty > string. I am using the property name > "x1000001e" and namespace is "http://schemas.microsoft.com/mapi/ > proptag/". > > It returns the body for other messages fine, but just not non- > deliverable replies. I have also tried using the wide body property > x1000001f and that doesn't work either. Is there some other way to > get the body for these messages? >
On Feb 20, 8:43 pm, "Glen Scales [MVP]" wrote: > This has been discussed in the past have a look at the old threadhttp://groups.google.com/group/microsoft.public.exchange2000.developm... > and see if this helps. > > cheers > Glen That helped a bit, but I can't figure out how to parse the stream to get just the body text. I'm using vb.net in VS 2005. I can't get the cdosys thing you did to work at all.
You should be able to use CDOSYS (or CDOEX) via a Com Interop in vS2005 its the best mime parser around I still use in VS 2005 with the new Exchange Web Services on Exchange 2007. Short of that the stream itself is only a serialized text stream so you could build your own helper class to parse it out. Cheers Glen "Joe" wrote in message news:1172163198.463149.257240@m58g2000cwm.googlegroups.com... > On Feb 20, 8:43 pm, "Glen Scales [MVP]" > wrote: >> This has been discussed in the past have a look at the old >> threadhttp://groups.google.com/group/microsoft.public.exchange2000.developm... >> and see if this helps. >> >> cheers >> Glen > > That helped a bit, but I can't figure out how to parse the stream to > get just the body text. I'm using vb.net in VS 2005. I can't get the > cdosys thing you did to work at all. >