Which module are you using? Have you tried reading its documentation? My guess is that you are using MIME::Parser and for your particular case, the first part has no body because it's a multipart. Have you tried checking the MIME type of your entity? See MIME::Entity#bodyhandle.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
Comment on Re^3: receiving email message with an attachment.