attachments().saveas find filetype

C

Carsten Lahme

Hi NGs,

an automatted script saves all attachments from an incoming mail to
disk.
Everything works fine, as long as the DisplayName includes the file
extension (.xls, .doc, etc..)
As soon as You have a mailitem embedded or You changed the displayname
there is no fileextension.
How can I find this extension?

thanks for suggestions

Carsten
 
C

Carsten Lahme

Hi NGs,

OK I found it (Newbie-mistake).
I used displayname and not filename for it.

now it works.

grts
CL
 
Top