PC Review


Reply
Thread Tools Rate Thread

Attachments of saved MSG files

 
 
MON205
Guest
Posts: n/a
 
      24th Jun 2008
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
 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      24th Jun 2008
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" <(E-Mail Removed)> wrote in message
news:37C34CAA-2B08-4765-A60C-(E-Mail Removed)...
> 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



 
Reply With Quote
 
MON205
Guest
Posts: n/a
 
      25th Jun 2008
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" <(E-Mail Removed)> wrote in message
> news:37C34CAA-2B08-4765-A60C-(E-Mail Removed)...
> > 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

>
>
>

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      26th Jun 2008
Once again, you need to open the attachment using IMessage::OpenAttach (get
back IAttach), then use IAttach::GetProps or HrGetOneProp to read the
properties.
Double ccik on an attachment in OutlookSpy to see teh atatchment properties.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"MON205" <(E-Mail Removed)> wrote in message
news:EE8B521C-5322-4C44-B511-(E-Mail Removed)...
>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" <(E-Mail Removed)> wrote in message
>> news:37C34CAA-2B08-4765-A60C-(E-Mail Removed)...
>> > 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

>>
>>
>>



 
Reply With Quote
 
MON205
Guest
Posts: n/a
 
      26th Jun 2008
Hi Dmitry,
Your way works fine. I can now get the name of the attachment. But still
cant get the size (PR_ATTACH_SIZE).
Anyway, when I try to do that from OutlookSpy, I can't get any data,
OpenAttach() results in an error message (IMessage::OpenAttach() returned
MAPI_E_NO_ACCESS).

As this works from my code, so I just need your help to get the size of the
attachment if it is possible.

Thanks again and again Dmitry

---------------------------------
"Dmitry Streblechenko" wrote:

> Once again, you need to open the attachment using IMessage::OpenAttach (get
> back IAttach), then use IAttach::GetProps or HrGetOneProp to read the
> properties.
> Double ccik on an attachment in OutlookSpy to see teh atatchment properties.
>
> --
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
> -
> "MON205" <(E-Mail Removed)> wrote in message
> news:EE8B521C-5322-4C44-B511-(E-Mail Removed)...
> >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" <(E-Mail Removed)> wrote in message
> >> news:37C34CAA-2B08-4765-A60C-(E-Mail Removed)...
> >> > 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
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      1st Jul 2008
It is up to tehe provider to expose the PR_ATTACH_SIZE property (it is
attachment data plus whatever otheer properties are stored with an
attachment).
If it is not availble, the size of the data in PR_ATTACH_DATA_BIN would be a
good approximation
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"MON205" <(E-Mail Removed)> wrote in message
news:9A427228-AEAF-4360-AC51-(E-Mail Removed)...
> Hi Dmitry,
> Your way works fine. I can now get the name of the attachment. But still
> cant get the size (PR_ATTACH_SIZE).
> Anyway, when I try to do that from OutlookSpy, I can't get any data,
> OpenAttach() results in an error message (IMessage::OpenAttach() returned
> MAPI_E_NO_ACCESS).
>
> As this works from my code, so I just need your help to get the size of
> the
> attachment if it is possible.
>
> Thanks again and again Dmitry
>
> ---------------------------------
> "Dmitry Streblechenko" wrote:
>
>> Once again, you need to open the attachment using IMessage::OpenAttach
>> (get
>> back IAttach), then use IAttach::GetProps or HrGetOneProp to read the
>> properties.
>> Double ccik on an attachment in OutlookSpy to see teh atatchment
>> properties.
>>
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "MON205" <(E-Mail Removed)> wrote in message
>> news:EE8B521C-5322-4C44-B511-(E-Mail Removed)...
>> >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" <(E-Mail Removed)> wrote in message
>> >> news:37C34CAA-2B08-4765-A60C-(E-Mail Removed)...
>> >> > 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
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
MON205
Guest
Posts: n/a
 
      3rd Jul 2008
Don't you despair ?!!!
Thanks Dmitry

"Dmitry Streblechenko" wrote:

> It is up to tehe provider to expose the PR_ATTACH_SIZE property (it is
> attachment data plus whatever otheer properties are stored with an
> attachment).
> If it is not availble, the size of the data in PR_ATTACH_DATA_BIN would be a
> good approximation
> --
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
> -
> "MON205" <(E-Mail Removed)> wrote in message
> news:9A427228-AEAF-4360-AC51-(E-Mail Removed)...
> > Hi Dmitry,
> > Your way works fine. I can now get the name of the attachment. But still
> > cant get the size (PR_ATTACH_SIZE).
> > Anyway, when I try to do that from OutlookSpy, I can't get any data,
> > OpenAttach() results in an error message (IMessage::OpenAttach() returned
> > MAPI_E_NO_ACCESS).
> >
> > As this works from my code, so I just need your help to get the size of
> > the
> > attachment if it is possible.
> >
> > Thanks again and again Dmitry
> >
> > ---------------------------------
> > "Dmitry Streblechenko" wrote:
> >
> >> Once again, you need to open the attachment using IMessage::OpenAttach
> >> (get
> >> back IAttach), then use IAttach::GetProps or HrGetOneProp to read the
> >> properties.
> >> Double ccik on an attachment in OutlookSpy to see teh atatchment
> >> properties.
> >>
> >> --
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
> >> -
> >> "MON205" <(E-Mail Removed)> wrote in message
> >> news:EE8B521C-5322-4C44-B511-(E-Mail Removed)...
> >> >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" <(E-Mail Removed)> wrote in message
> >> >> news:37C34CAA-2B08-4765-A60C-(E-Mail Removed)...
> >> >> > 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
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      4th Jul 2008
No, I like challenge :-)

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"MON205" <(E-Mail Removed)> wrote in message
news:4096C1F1-760B-4E8B-B3ED-(E-Mail Removed)...
> Don't you despair ?!!!
> Thanks Dmitry
>
> "Dmitry Streblechenko" wrote:
>
>> It is up to tehe provider to expose the PR_ATTACH_SIZE property (it is
>> attachment data plus whatever otheer properties are stored with an
>> attachment).
>> If it is not availble, the size of the data in PR_ATTACH_DATA_BIN would
>> be a
>> good approximation
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "MON205" <(E-Mail Removed)> wrote in message
>> news:9A427228-AEAF-4360-AC51-(E-Mail Removed)...
>> > Hi Dmitry,
>> > Your way works fine. I can now get the name of the attachment. But
>> > still
>> > cant get the size (PR_ATTACH_SIZE).
>> > Anyway, when I try to do that from OutlookSpy, I can't get any data,
>> > OpenAttach() results in an error message (IMessage::OpenAttach()
>> > returned
>> > MAPI_E_NO_ACCESS).
>> >
>> > As this works from my code, so I just need your help to get the size of
>> > the
>> > attachment if it is possible.
>> >
>> > Thanks again and again Dmitry
>> >
>> > ---------------------------------
>> > "Dmitry Streblechenko" wrote:
>> >
>> >> Once again, you need to open the attachment using IMessage::OpenAttach
>> >> (get
>> >> back IAttach), then use IAttach::GetProps or HrGetOneProp to read the
>> >> properties.
>> >> Double ccik on an attachment in OutlookSpy to see teh atatchment
>> >> properties.
>> >>
>> >> --
>> >> Dmitry Streblechenko (MVP)
>> >> http://www.dimastr.com/
>> >> OutlookSpy - Outlook, CDO
>> >> and MAPI Developer Tool
>> >> -
>> >> "MON205" <(E-Mail Removed)> wrote in message
>> >> news:EE8B521C-5322-4C44-B511-(E-Mail Removed)...
>> >> >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" <(E-Mail Removed)> wrote in message
>> >> >> news:37C34CAA-2B08-4765-A60C-(E-Mail Removed)...
>> >> >> > 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
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>

>>
>>
>>



 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Open Saved Files Saved in My Documents rogeepete Windows XP General 6 7th Aug 2009 08:01 PM
Where are files saved, when saving attachments in email messages? =?Utf-8?B?UFJPR05PU0lT?= Microsoft Outlook Discussion 1 18th Sep 2006 05:27 AM
Opening Microsoft Outlook attachments from saved .msg files Rich Microsoft Excel Programming 0 19th Apr 2006 11:12 AM
Word issues - saved files not saved and gridline blank documents =?Utf-8?B?YnVkZHlvcmxpeg==?= Microsoft Word Document Management 4 18th Apr 2006 10:42 PM
Re: Why are files saved to a CD/RW burner saved as read only Brendan Reynolds Microsoft Access External Data 0 16th Sep 2004 01:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:38 AM.