distribution list member name field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all

My company has 2 john smiths. If I resolve the receipent field to john
smith it may not be giving me the correct information. If I resolve the
object to the email address and add it to the distribution list, how do I
change the Name field to John Smith ?

Set objRcpnt = olApp.Session.CreateRecipient(objContact.Email1Address)

objRcpnt.Resolve
objDstList.AddMember objRcpnt
objDstList.DLName = dname
objDstList.Save

This will set name and email address email1address value

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top