Can't Save Attachment

P

Pavan

Hi,



I have made a small application which process Mail Items (Notes Items) and
save its properties in database. I have used outlook object model.It is
working fine but for one message it gives an error as below.



"Cannot open this item.Out of memory or system resources. Close some windows
or programs and try again."



Even this message also can't be open in outlook. I don't want this error
comes while processing.So I don't want to process this message from my
application. Is there any property of the message from which I can detect
that it can't be processed? If any one knows please reply.
 
K

Ken Slovak - [MVP - Outlook]

Please provide more information.

What type of message is causing the error?

What does your code look like?

Are you testing the items you retrieve to make sure they are the correct
types? If you are scanning the Inbox for example there may be items that
aren't IPM.Note. Inbox can hold Post items, task requests, meeting requests,
etc. You also may run into problems with encrypted or signed messages if you
try to process them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top