Item_Send Event: No Recipient in Redemption Object ?

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
 

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

Top