Hi All,

I added an embedded attachment to a message (tried with bitmap) and used the GetMime method to get the MIME for the message. The generated mime doesn't have any attachments.

I tried to save the file using Attachment.Save method, which does produce an output file. But when I try to open the generated file in Microsoft Paint it gives an error "Paint cannot read this file. This is not be a valid bitmap file"

I tried the same exercise with an embedded wordpad document, saved the attachment using Attachment.Save. When I try to open the file in wordpad I see lots of garbled charachters and square boxes along with the text.

Any inputs on the correct method of interpreting/saving embedded attachments would be helpful.