> properties.
> Double ccik on an attachment in OutlookSpy to see teh atatchment properties.
> >I tried the Misc | OpenIMsgOnIStg and the same behavior found.
> > I need to read these properties:
> > 1. PR_ATTACH_LONG_FILENAME_W,
> > 2. PR_ATTACH_FILENAME_W
> > 3. PR_DISPLAY_NAME
> > 4. PR_ATTACH_SIZE
> > In OutlookSpy->IMessage->FetAttachmentTable(), Number of Rows displays the
> > correct number, but names of attachments are: (Row # 0, Row # 1, ...), and
> > property tags exist are just(PR_ATTACH_METHOD, PR_ATTACH_MIME_TAG_W,
> > PR_ATTACH_NUM, PR_RECORD_KEY, PR_RENDERING_POSITION).
> >
> > Another note that when the message exists in Outlook, and you view the
> > message, the attachments displayed as(name(size)), but if the MSG saved
> > out
> > of Outlook, the attachments displayed as (name)... no size displayed, any
> > way
> > I don't know how Outlook gets the attachment names.
> >
> > Any ideas how can I get the attachment names and sizes of a saved MSG
> > file?
> > Waiting for respond...
> >
> > Thanks.
> > ----------------------------------------------------------
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> What exactly do you mean by "there are no info about attachments"?.
> >> What properties are you trying to access? What exactly do you get?
> >> Fo IMessage created on top of an MSG file, a very limited set of
> >> properties
> >> is exposed. You need to open the attachment and then read properties from
> >> it.
> >> Keep in mind that when you double click on an MSG file, Outlook creates a
> >> temporary message in the default store and copies the MSG file, so you
> >> are
> >> not looking at the MSG file data.
> >> You can see exposed properties in OutlookSpy: click Misc |
> >> OpenIMsgOnIStg.
> >>
> >> --
> >> Dmitry Streblechenko (MVP)
> >>
http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
> >> -
> >> "MON205" <MON205@hotmail.com.NoSpam> wrote in message
> >> news:37C34CAA-2B08-4765-A60C-E8A2AC081DD3@microsoft.com...
> >> > Hello,
> >> > I'm trying to open a MSG file (saved on disk) and get the names ans
> >> > sizes
> >> > of
> >> > attachments. GetAttachmentTable( ) returns S_OK but there are no info
> >> > about
> >> > attachments. Also if you opened the MSG file with Outlook, and see the
> >> > attachments properties using OutlookSpy, you will notice that main
> >> > attachments info are not found.
> >> >
> >> > How can I get these info?
> >> >
> >> > Thanks
> >>
> >>
> >>