attachments().saveas find filetype

  • Thread starter Thread starter Carsten Lahme
  • Start date Start date
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
 
Hi NGs,

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

now it works.

grts
CL
 
Back
Top