R
Ronaldk6
Hello there!
I want to add some code in the Item_Send Event of an Email.
I use .NET and the Redemption.SafeMailItem Object to get Data from the mail
to be sent like this:
Private Sub m_olApp_ItemSend(ByVal Item As Object, ByRef Cancel As Boolean)
Dim sMailItem as New Redemption.SafeMailItem
sMailItem.AuthKey="MyKey"
sMailItem.Item=Item
debug.print sMailItem.Recipients.Count 'is always 0 (!!!)
'B U T:
debug.print Item.Recipients.Count
'is always 1 (so there ARE Recipients in the original Item)
End Sub
Has anybody an Idea, how i can read the Recipients from a new Mail in this
event by using the Redemption.SafeMailItem? It seems that the redemption-Item
is almost empty. No Data can be accessed. When I save it to disk, and open it
after that, an empty Mail-Item appears.
Thank you for your help, I really would need it!
Ronald
I want to add some code in the Item_Send Event of an Email.
I use .NET and the Redemption.SafeMailItem Object to get Data from the mail
to be sent like this:
Private Sub m_olApp_ItemSend(ByVal Item As Object, ByRef Cancel As Boolean)
Dim sMailItem as New Redemption.SafeMailItem
sMailItem.AuthKey="MyKey"
sMailItem.Item=Item
debug.print sMailItem.Recipients.Count 'is always 0 (!!!)
'B U T:
debug.print Item.Recipients.Count
'is always 1 (so there ARE Recipients in the original Item)
End Sub
Has anybody an Idea, how i can read the Recipients from a new Mail in this
event by using the Redemption.SafeMailItem? It seems that the redemption-Item
is almost empty. No Data can be accessed. When I save it to disk, and open it
after that, an empty Mail-Item appears.
Thank you for your help, I really would need it!
Ronald