How to get the mail attachment byte stream

I am new to Lotus developement and Using Note C API. I am working on a mail application for lotus Domino. Where it is required to get the mail attachment as byte stream and pass it to another application. I found NSF function to extract with callback, but it is not providing a byte stream.

So Any one can help me to get the attachment as byte stream.

Regards,

Sekhar

Subject: Ensure attachment isn’t compressed - and Domino will bytestream …

This is valid with the HTTP-server, and I am not sure it will be in your case.