Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement