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
 
Back
Top