R
Robert Halford
Is it possible to extract embedded objects from an Outlook Rich Text email
and save them as files?
I have created a Rich Text email and embedde a Word document in it, then
sent it to myself.
I can see the object exists as an "attachment" to the email, where the
Display Name is "Microsoft Office Word Document" and the FileName is set to
this also. I can save it to a local file and have the content set as the
embedded object.
However I don't know how to give the file a meaningful extension. I mean I
can just check if it is called "Microsoft Office Word Document" and if so
give it a "doc" extension, but how can I more generally find the correct
file type?
and save them as files?
I have created a Rich Text email and embedde a Word document in it, then
sent it to myself.
I can see the object exists as an "attachment" to the email, where the
Display Name is "Microsoft Office Word Document" and the FileName is set to
this also. I can save it to a local file and have the content set as the
embedded object.
However I don't know how to give the file a meaningful extension. I mean I
can just check if it is called "Microsoft Office Word Document" and if so
give it a "doc" extension, but how can I more generally find the correct
file type?