I get the error
Outlook does not recognize one or more names.
I believe this is due to the contact appearing multiple times.
For example when I import my contact list, I use the agent number to find the agent.
When I type 11005 and check names, it will have two or more entries of the same person.
Any way I can error handle this?
.Recipient.Add( oldProducerCode)
.Recipient.ResolveAll
.CC = ""
.BCC = ""
.Subject = "Renewal (URGENT)"
.HTMLBody = strHTML
.SentOnBehalfOfName = "Client_Service@automated.ca"
.Send