in reply to Re: extracting email attachments
in thread extracting email attachments

OK it is now getting the file name. How do get rid of the "/" in the file name so I can save it?

Replies are listed 'Best First'.
Re^3: extracting email attachments
by jrtaylor (Initiate) on Apr 01, 2014 at 20:17 UTC
    Figured it out. This is what I added before I open the file for writting.
    $attname[$x]=~ s/[^A-Za-z0-9\-\.]//g;