Implemented GetAttachmentData() (untested).