Oracle connection causes MAPI_E_FAILURE on MAPISendMail
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