then maybe mapi is not installed right??
are you getting data from oracle?? from your code oracle doesn't have anything to do with MAPI...
Read this if you want to know how to get a correct reply for your question:
^^Took that from dparsons signature and he Took that from planoie's profile