handle the mime type at the receiver