Im searching for some samples to read an attachment.

With Getitemrequest, we get a mail id for an mail with an attachment.

But when we use this id in GetAttachmentRequest, the server is no more
responding and must restarted.

Is this right to use this id or does we need any other?