Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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=Subject
message=Body
if MAPISendMail(session_id, 0, flags, message) then

or

if MAPISendMail(0, 0, flags, message) then

I'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)?

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/069c87326332371085257100006993f6.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1