in reply to MIME::Lite truncating attachment

Can you show us the raw mail message together with the GET or POST data that generated it?

I notice that you are not properly quoting your CSV values. use the combine() method of Text::CSV to ensure that it is formatted correctly.