Recipient Name Conflict 
Author Message
 Recipient Name Conflict

Hi All,

I have written a routine in Excel 97 that e-mails a spreadsheet
attachment to a recipient stored in the contacts folder. This works
fine if the recipient is a totally unique name. However, if the start
of the name occurs more than once, then an error is encountered
because Outlook does not know which person to send the e-mail to. The
contact names are not the same, it is only the start of the name that
is the same. ie. Fred Bloggs and Fred Bloggson.

From other postings I have seen that I can trap the error by using
.Resolve but I don't understand why it cannot recognise 2 different
names. I do want my users to have to choose a name from a list when
the name is already clearly a valid name.

Any help much appreciated.

Regards

Glyn Baker



Sat, 14 May 2005 23:50:23 GMT  
 Recipient Name Conflict
Outlook is trying to resolve the unresolved recipient name and does
the same as it does in the UI when trying to resolve a non-unique
name. To avoid that you need to resolve all recipients before sending.
It's good practice anyway.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


Quote:
> Hi All,

> I have written a routine in Excel 97 that e-mails a spreadsheet
> attachment to a recipient stored in the contacts folder. This works
> fine if the recipient is a totally unique name. However, if the
start
> of the name occurs more than once, then an error is encountered
> because Outlook does not know which person to send the e-mail to.
The
> contact names are not the same, it is only the start of the name
that
> is the same. ie. Fred Bloggs and Fred Bloggson.

> From other postings I have seen that I can trap the error by using
> .Resolve but I don't understand why it cannot recognise 2 different
> names. I do want my users to have to choose a name from a list when
> the name is already clearly a valid name.

> Any help much appreciated.

> Regards

> Glyn Baker



Sun, 15 May 2005 04:37:29 GMT  
 Recipient Name Conflict
Thanks Ken,

But surely there is nothing to resolve? The 2 names are distinct. Just
because part of the name appears twice why cannot Outlook recognise
that? Does it just look at the first x characters?

Regards

Glyn Baker

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sun, 15 May 2005 17:27:52 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. sender name and recipient name?

2. macro to add recipient's name to subject line

3. Ambiguous Name in Outlook Recipient

4. How to get ambiguous names if the recipient is not resolved

5. Recipient Properties from Display Name

6. Select Names dialog box opens, need help getting the recipients into strings

7. Select Names dialog box opens, need help getting the recipients into strings

8. Name Conflicts

9. Naming conflicts with Word subs & Microsoft Procedures

10. Naming Conventions: Avoiding Conflict

11. Name conflicts with existing module, project or object library

12. Conflicting Names!!

 

 
Powered by phpBB® Forum Software