Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Emailing, Faxing, Auto Dialing and setup
Message
From
28/10/1997 11:30:10
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
 
To
28/10/1997 09:26:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056121
Message ID:
00057006
Views:
36
>>When exactly did you get the message? Are you able to create a session object?
>>
>>What version of Exchange are you running?
>>
>>What code are you running? Are you using SendInternetMail? I need a little more information to be of help.
>
>First of all I have to change the line:
> loSess = CREATEOBJECT("MAPI.Session")
>to:
> loSess = CREATEOBJECT("MSMAPI.MAPISession")
>
>Then, when I attemp to do:
> loSess.logOn() && - optional parameter ....
>it says:
> OLE Error code 0x80020006. Unknown OLE state code
> (the error pops up in Spainsh, the translation might not be 100% exact).
>
>So I use SignOn instead and it seems to work, but when I try to do:
>
> loMsg = toSess.outbox.messages.add && returns message/outbox object
>
>I get the same error message.
>
>I am using MS Exchange version 4.
>
>Thanks for your interest,
>Javier.

There's your mistake (and mine??). MAPI and MSMAPI are different.
MSMAPI uses MSMAPI.OCX and is for sending mail with a form. That might
be what you're looking for, but that's not what my prg does.

EMAIL.PRG uses MAPI 1.0, which is a dll (actually a series of dll's,
including: MAPI.DLL, MAPI32.DLL, MAPIXX.DLL and others. , which should all reside in your SYSTEM32 directory) I believe I posted a more comrehensive
list a while back.... Try doing a text search on your system for
"MAPI 1.0" in *.dll's and make sure that all the MAPI files in a public
system directory.

HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform