Re: message attachment saved by Outlook.Attachment.SaveFileAs not
Ken,
I really don't care about the attachment type. I save all attachment items
going through in for each and save them in shared folder (UNC).
The way how I test it, I explore the UNC path and see the items I saved
(doc, xls, jpeg, .... and .msg too). When I double on any item but .msg it
opens perfectly in a corresponding windows extension mapped application (.doc
in word, .xls in Excel...)
TO answer your question: "does it open as an Outlook item? Does it open at
all?"
Yes system recognize the item as outlook item and attempt to open the item
with outlook but fails with the following error message.
When I double click on .msg (I have OL 2007. OL 2007 was not launched when I
attempt to open the saved embedded message items) and I get the following..
-------------------------
Microsoft Office Outlook
-------------------------
Cannot start Microsoft Office Outlook. Cannot read the item.
-------------------------
OK
-------------------------
If I had OL 2007 launched already and double click on the saved embedded
message then I get the following error
-------------------------
Microsoft Office Outlook
-------------------------
Cannot read the item.
-------------------------
OK
-------------------------
I just used 2003 Outlook Object Model and saved the attachment. Why I'm not
able to open the .msg attachments? I can live with temporary solution for
some time. All I want to do is some way to see the save email item properties
and see what it is... I tried OutlookSpy and that did not help eiether.
I really don't find any documentation about this and badly need help from
experts like you... Please help.
Regards,
Selvam.
wrote:
> Are you sure that those embedded attachments are actually Outlook objects,
> and not images or something else? How are you testing for that?
> To be clear, if you find that MSG file in Windows Explorer and double-click
> on it does it open as an Outlook item? Does it open at all?
> >
>
> "arcfan" <arcfan> wrote in message
> news:7E96D7B7-9D9A-4787-80FB-C431DA3DDC04@microsoft.com...
> > Ken,
> > Thanks for great response and follow-up.
> > Only with embedded mail item (message) as attachments thats where I have
> > problem with. That too not while saving the attachment (embedded mail
> > item/Message) in to the shared folder...
> > Only when opening the saved item... I use .msg extension for the embedded
> > mail item types and in explorer it showed as email message type files.
> > User double clicks on the item to open it up in outlook. User may use OL
> > 2003 or OL 2007.
> > Please let me know if I can provide any other details.
> > Regards,
> > Selvam.
>