Fixes #1483 Large attachments, greater than PHP memory limit, fail