V
VebKol
Hi
I have problems reading email address from all recipients on my current
mail, it is no problem to get the names for all the recipients, but... email
adress......
I'm using the following code to get names, but need som tip's on how to get
the mail address for this persons...
I'm using Redemtion
----------------------------------------------------------------------------------------
Set Application = CreateObject("Outlook.Application")
Set sInspector = CreateObject("Redemption.SafeInspector")
sInspector.Item = Application.ActiveInspector
NoPers = sInspector.CurrentItem.Recipients.Count
For t = 1 To NoPers
Select Case sInspector.CurrentItem.Recipients.Item(t).Type
Case 1
Debug.Print "to=" &
myinspector.CurrentItem.Recipients.Item(t)
Case 2
Debug.Print "cc=" &
myinspector.CurrentItem.Recipients.Item(t)
End Select
Next t
I have problems reading email address from all recipients on my current
mail, it is no problem to get the names for all the recipients, but... email
adress......
I'm using the following code to get names, but need som tip's on how to get
the mail address for this persons...
I'm using Redemtion
----------------------------------------------------------------------------------------
Set Application = CreateObject("Outlook.Application")
Set sInspector = CreateObject("Redemption.SafeInspector")
sInspector.Item = Application.ActiveInspector
NoPers = sInspector.CurrentItem.Recipients.Count
For t = 1 To NoPers
Select Case sInspector.CurrentItem.Recipients.Item(t).Type
Case 1
Debug.Print "to=" &
myinspector.CurrentItem.Recipients.Item(t)
Case 2
Debug.Print "cc=" &
myinspector.CurrentItem.Recipients.Item(t)
End Select
Next t