Unable to send mail, multiple matches found in Name & Address book

Hello,

I am getting the following error

Unable to send mail, multiple matches found in Name & Address book

I am trying to send an email to a saleperson form a form with the following code and get the error message is there a way around this error.

The salesperson is always different so I can not hard code their name in.

Call maildoc.AppendItemValue(“SendTo”, MailAddress)

Thanks for your help in advance

Subject: It means what it says

“Multiple matches in the address book” means the string that is making it into the SendTo parameter cannot be resolved to a unique mail account (user/group/mail-in db). If you’re using a just a common name or a short name there is more likelihood of a name collision. If so, you should be using a full hierarchical name, internet address or other known-unique addressable form.

To confirm the issue you’ll need to check the value (from where ever it is obtained or by stepping through the code in the debugger) and then check for the duplicate/collision in the $Users view of your Domino Directory.

Subject: Recent Contacts

When I have this issue, I just go to Contacts → Recent Contacts and I delete from there the entries that I need to use, and so far, it works. I hope this works for you

Subject: This worked !

worked great- thanks !