When you use the same handle variable to retrieve multiple message parts, after each retrieval, call
deleteMessageprocedure on the handle variable to free the message part.
For more information, see the MultipartMessage and the MultiPartMessage example.