http://qs321.pair.com?node_id=1201127


in reply to Re: Problem with MIME::Parser and filenames
in thread Problem with MIME::Parser and filenames

Good idea. Didn't help though... exactly the same outcome.
  • Comment on Re^2: Problem with MIME::Parser and filenames

Replies are listed 'Best First'.
Re^3: Problem with MIME::Parser and filenames
by tangent (Vicar) on Oct 11, 2017 at 00:27 UTC
    FWIW I sent myself a xlsx file with the same name as yours. It came in with the same Content-Type (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) and MIME::Parser saved the attached file correctly. So I don't think Content-Type is the problem. Could it be some type of filename length restriction - try adding something like this to your script:
    system('getconf NAME_MAX ' . $tmpdir);