Using CopyAttachments function with email attachments
I'm working on writing a short AppEngine to move our file attachments from ftp location to database storage. To do this, I'm using the CopyAttachments function. The one issue I'm having is with email (.msg) files. If the email has an attachment in it (example: an email with pdf attached), the CopyAttachments function is failing. The error I see is '56 - Failure when receiving data from the peer'. All other types of attachments, incl emails WITHOUT attachments are copying without issue. Has anyone done this sort of thing? Is there any special way to copy emails with attachments?