Index: mail_handler.rb =================================================================== --- mail_handler.rb (revision 15058) +++ mail_handler.rb (working copy) @@ -287,7 +287,7 @@ email.attachments.each do |attachment| next unless accept_attachment?(attachment) obj.attachments << Attachment.create(:container => obj, - :file => attachment.decoded, + :file => attachment.body.decoded, :filename => attachment.filename, :author => user, :content_type => attachment.mime_type)