Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BbGetProfiles - enumerating MAPI profile
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00520762
Message ID:
00522513
Vues:
14
>>>>Hi Nadya,
>>>>
>>>>I'm not sure if it's relevant to your situation but I have the same problem with Microsoft exchange client.
>>>>The name you pass to CreateSession method of MAPI class has to be the name of existing MAPI profile not the name of user or computer.
>>>
>>>Sergey,
>>>
>>>Could you please tell me how exactly had you solved this problem? To be honest, firstly, it's not my application, secondly, we just took the existing Nigel's class and used it without changing it or looking too deeply in the code. It works great with GroupWise with exception of this annyoing problem. I tried Bella's class, but could not make it work in my brief tests, so I abandoned this idea.
>>
>>I passed the name of existing MAPI profile I want to use as the first parameter to CreateSession method of MAPI class.
>
>This lead to the question: how did you get this profile name? I found these lines:
>
>* Create session and sign on
>lnSessionID=THIS.CreateSession(lcUserName,lcPassword,llFetchMessages).
>
>And we invoke this class without first two parameters, so now it's clear, why we had this error.

I guess, I can combine Bella's class with Nigel's, but may be you know a simple API call to get all available profiles?

Thanks again in advance.


>
>>>
>>>>
>>>>HTH
>>>>
>>>>>Hi everybody,
>>>>>
>>>>>I'm wondering, did somebody try to implement this file with GroupWise for sending e-mails. Currently we implemented Nigel Coates class for sending e-mails and it works great with one little problem: each time, we start sending mails (only for the first time), it pops up a dialog: "Choose a profile" with "Novell default setting" as a choice. If we hit Yes on this dialog, everything works fine then. If we choose 'Cancel', the message is not sent. My question is: how can we suppress this dialog completely? Bella's file seems to fit exactly into this, but I can not get it to work. I tried the sample file with my work address, it shows 1 as function return value, but I didn't get the message.
>>>>>
>>>>>So, my question is: did somebody try it with GroupWise?
>>>>>
>>>>>Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform