Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSMAPI32.ocx VS Outlook2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00349842
Message ID:
00349931
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform