Malformed response when retrieving a tx with an attchment

Hi all,

I am using the 0.52 RT library for Perl to access an RT v4.0.2.3 installation. I can successfully retrieve tickets and transactions that are plain text, however when I try and retrieve a transaction that has an attachment it fails with “Malformed RT response received from https://…”

I even tried the example code that is provided on metacpan.org - it fails with the same error.

I am quite sure that the problem is down to the attachment as this is the first case that I have exported in this manner which has one.

The attachment was sent via an email (I don’t know if you can attach files any other way).

Has anyone else managed to do this, or do you have any suggestions?

|/|artin