Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Foxpro & Outlook Express (MAPI)
Message
De
10/12/1999 09:02:15
James Marshall
SPAWAR Systems Center Charleston NCR
Washington, District de Colombia, États-Unis
 
 
À
09/12/1999 17:44:59
James Marshall
SPAWAR Systems Center Charleston NCR
Washington, District de Colombia, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00300875
Message ID:
00301619
Vues:
24
>>Dear UT users,
>>
>>I am trying to implement MAPI module available on your thread by
>>Mr. Nigel Coates from nbcsoftware into VFP using Outlook
>>express and it works fine if we pass actual email ids while using
>>sendmail function.
>>
>>But if we try to send only names (nicknames) instead of email ids
>>we get following error:
>>
>>"OLEIDispatch execption code 0 from MAPIMessage:Ambiguous recepient"
>>
>>I am trying this to avoid maintaing two address book :
>>
>>1. in Outlook express
>>2. in Visual foxpro
>>
>>After noticing thorougly i identified that this happens when we have
>>two or more NAMES having same word occurance
>>
>>Following sample demonstrates how 2 different names
>>are treated as same by Outlook express
>>
>>1. A2
>> naidunia2
>>
>>2. A3
>> Naidunia3
>>
>>3. A1
>> Naidunia11
>>
>>I think it matches for the subsequent character occurance any where within the name string (partial word search).
>>
>>I have 80 email ids and it would be difficult to resolve the above problem.
>>
>>Is there any way we can set outlook to match for the
>>whole word instead on part word.
>>
>>or What could be the possible solution.
>>
>>with regards
>>(Upendra Nayak)
>Upendra,
>We had a similar problem with Outlook, where the address book contained similar names (i.e., Jill, Jillian, Jill23, Jill233, etc...). I don't know exactly where I found this solution, but it seems that Microsoft's way of handling these resolves is akin to Foxpro's SET EXACT OFF. I believe that prepending a plus (+) in front of the name before you resolve it may have the effect of setting EXACT ON. Try it (on a small scale) and let me know. Hopefully, there's someone with more experience on this that could be of better help?
>Good luck!
Upendra,

I hope this one gets to you before you try my (+) suggestion. My memory proved a bit faulty: You should prepend an equals (=) sign rather than a plus (+). Sorry for the confusion.

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform