PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Access "Report Item"

Reply

Access "Report Item"

 
Thread Tools Rate Thread
Old 02-07-2003, 08:35 AM   #1
Robbin
Guest
 
Posts: n/a
Default Access "Report Item"


Hi guys,
I am working to create an Outlook add-in which would sort emails.
The normal mails (and their properties like Subject, Body,
etc......)that I receive in the inbox can be accessed using the "Mail
Item" object. But any autogenerated mail which is because of an
incorrect email address, throws an error. This can be accessed using
the object "Report Item" but I am no able to access any of its
properties. The only method Body returns a blank string even though
the message contains a valid string in the body.
Any kind of help will be appreciated.
Thanks in advance.
  Reply With Quote
Old 02-07-2003, 02:26 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Access "Report Item"

The only way to access a report item and see what it is saying is to
use Extended MAPI. You can't use the Outlook object model or CDO code
for that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


"Robbin" <robbin80@yahoo.com> wrote in message
news:c0a119ad.0307020035.33bc696c@posting.google.com...
> Hi guys,
> I am working to create an Outlook add-in which would sort emails.
> The normal mails (and their properties like Subject, Body,
> etc......)that I receive in the inbox can be accessed using the

"Mail
> Item" object. But any autogenerated mail which is because of an
> incorrect email address, throws an error. This can be accessed using
> the object "Report Item" but I am no able to access any of its
> properties. The only method Body returns a blank string even though
> the message contains a valid string in the body.
> Any kind of help will be appreciated.
> Thanks in advance.



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off