Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle connection causes MAPI_E_FAILURE on MAPISendMail

user614785Jan 15 2008 — edited Jul 22 2009
Hi all,

I have a quite bizarre situation here. Code that I've been using for years (unmodified) to send email using MAPI suddenly stopped working when I added Oracle database code into my application.

I have narrowed it down, and all signs point to Oracle. If I call MAPISendMail just before making an Oracle connection (via ODBC and Instant Client 10.2 or 11.1), all is well. But if I make the Oracle connection first, and then just afterwards call MAPISendMail, all is not well.

Whenever Oracle is connected before any MAPI call, for the remainder of my application's lifetime, any calls to MAPISendMail return MAPI_E_FAILURE.

This is not an ODBC issue, as the application was already using a different database (SQL Server) without any MAPI interference problems.

A web search finds one other discussion about this exact same problem, but no resolution.

Workstation details: Windows XP / Oracle Instant Client 10.2 or 11.1 / MS Outlook is the default MAPI client.

Any ideas? Workarounds? Thank you so much in advance!
--jsf
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2009
Added on Jan 15 2008
5 comments
1,902 views