M
Mpag
Hi,
I am attempting to create a DistListItem using this code:
.....
For Each ls In lst.ListItems
If ls.Checked Then
Set cnt = Session.GetItemFromID(ls.Tag)
Set rec = Session.CreateRecipient(cnt.FullName)
If rec.Resolve Then
'this code insert only the mail info. How can I get fax
dl.AddMember rec
Else
nonRes = nonRes + 1
End If
End If
Next ls
....
where lst is a listview showing a list of contacts.
When I use the outlook UI to create a DistListI I'm able to insert both
email and fax informations for each contact, but how can do this with vba?
Thanks in advantage.
Marco
I am attempting to create a DistListItem using this code:
.....
For Each ls In lst.ListItems
If ls.Checked Then
Set cnt = Session.GetItemFromID(ls.Tag)
Set rec = Session.CreateRecipient(cnt.FullName)
If rec.Resolve Then
'this code insert only the mail info. How can I get fax
dl.AddMember rec
Else
nonRes = nonRes + 1
End If
End If
Next ls
....
where lst is a listview showing a list of contacts.
When I use the outlook UI to create a DistListI I'm able to insert both
email and fax informations for each contact, but how can do this with vba?
Thanks in advantage.
Marco