Mail with Attachments in Confluence 3.0.x and 3.1.x Are Lost
Symptoms
When using the mail archive feature of Confluence, some mail sent with attachments get imported without their attachments.
Cause
The Mail library we use relies on a content-disposition header to determine whether there is an attachment attached to the message. According to this specification this field is unnecessary.
Workaround
There is a patch for versions of Confluence (3.0.x and 3.1.x family) that uses the Mail 1.6 libraries. See Mail with Attachments in Confluence 3.0.x and 3.1.x Are Lost.
Resolution
Upgrade to Confluence 3.2 or later.