how to prevent the resolve dialog when adding a member to a DL with 2 email addresses?

  • Thread starter Thread starter Ronald van Aalten
  • Start date Start date
R

Ronald van Aalten

Hi All,

When I use the following code to add a member who has 2 email
addresses to a (Redemption) distributionlist then Outlook displays a
'Resolve' dialog asking me which contact I want to add.
----------
Set oredRec = oredMail.Recipients.Add("John Doo")
oredRec.Resolve True
oredDL.AddMember oredRec
---------
There are two John Doos:
John Doo ([email protected])
John Doo ([email protected])

I want to add the first John WITHOUT seeing the resolve dialog but:
 
Have you tried using Redemption's SafeDistList AddMember or AddMemberEx
methods? I'm not sure if they would also create a one-off recipient however.
Try AddMember using the SMTP address you want used. If that doesn't do what
you want try AddMemberEx using the name, address and type arguments.
 
Hi Ken,

Yes I use a SafeDistList and tried with the SMTP address. Also:
AddMemberEx creates a one-off recipient by default according to
Dmitry. Nothing works.

Ronald
 
Then I'm out of ideas. You might have to live with one-off recipients in
that case.
 
Back
Top