in reply to Re: Email Text File
in thread Email Text File

I ended up saving it as an .xls file instead (since I needed to open it with that anyways) and changed the code to be
$report->attach( Type=>'application/vnd.ms-excel', Encoding=> 'base64', Path=> "/my/home/"."$out", Filename=> "$file"."_fixed.xls" );
I feel like it may have been something with the encoding? I'm not sure :\

Replies are listed 'Best First'.
Re^3: Email Text File
by runrig (Abbot) on Jun 28, 2013 at 21:01 UTC
    Please break the habit of the "Useless use of quotes", i.e. uslessly double quoting lone variables...