MAPISendMail (OpenInsight 32-Bit)
At 24 JAN 2006 02:13:11PM Karen Oland wrote:
When I make any call to MAPISendmail (oi 7.1.1), OI crashes (drwatson).
MapiLogon and MapiAddress are working fine (and returning values). At the simplest, this is the call I have to MapiSendmail:
flags =MAPI_LOGON_UI$+MAPI_DIALOG$message="message=Subjectmessage=Bodyif MAPISendMail(session_id, 0, flags, message) thenor
if MAPISendMail(0, 0, flags, message) thenI've also tried with more of the message positions set (from, to, etc), but with the same end result (crash & exit). According to the documentation (and tests of the function I did years ago), the above should just call a dialog box in the mapi client to get the missing info.
Any tips on tracking down where the error resides?
Or some method to make sendmail (or smtpmail) use the user's current address book (which is mapi compliant)?