aziz rasul
Active member
- Local time
- Today, 23:01
- Joined
- Jun 26, 2000
- Messages
- 1,935
I have some code that uses the Outlook object to send an email to multiple people. However I have an individual (call him Joe Public) whose name appears twice in the contact list.
How do I select the correct Joe Public in the code?
When I manually send the email, I have no problem as when I enter Joe Public's name a tag description also appears e.g.
Public, Joe <public61>
This is the code I use for the names
strTo = "Public,Joe;Cooper,Peter;Jones,Avril"
How do I select the correct Joe Public in the code?
When I manually send the email, I have no problem as when I enter Joe Public's name a tag description also appears e.g.
Public, Joe <public61>
This is the code I use for the names
strTo = "Public,Joe;Cooper,Peter;Jones,Avril"