Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSMAPI32.ocx VS Outlook2000
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00349842
Message ID:
00349931
Views:
24
>Point 2 - What is the error? There is not enough information to be able to answer this.

>>2-
>>In other environment (when the same application is connected to a network, including an mail server), I got an error message from this ocx about "Error login".
>>Do I have to manage someting about the security into that ocx?
>>Thanks!


Some of my code here:

THIS.oSession.NewSession = .T.
THIS.oSession.UserName = "user"
THIS.oSession.Password = "pass"
THIS.oSession.REFRESH()
THIS.oSession.SignOn <--- Debugger show this line as an error
THIS.oMessage.SessionID = THIS.oSession.SessionID
THIS.oMessage.Compose
THIS.oMessage.MsgSubject = "Subject line here"
THIS.oMessage.MsgNoteText = cString
THIS.oMessage.RecipDisplayName = "email@email.com"
THIS.oMessage.Send(0)
THIS.oSession.SignOff


The error message is: "OLE IDispatch exception code 0 from MapiSession: Login has failed.."

?????

Thanks again!
Analystik Team
1430 Belanger
Montreal (Quebec)
Canada
(514) 278-2727
analyste@analystik.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform