Just upgraded Office 2000 to latest and greatest(?), so now I have the Outlook "security patch from hell popup" occurring when I write against Outlook API. I've tried both contact and email objects, and have the same problem: Everything appears to work ok, EXCEPT THE EMAIL ADDRESS IS EMPTY IN THE REDEMPTION OBJECT.
As an example, here's the "contact" code I tried:
oOutlook = CREATEOBJECT("outlook.application")
oNamespace = oOutlook.GetNamespace("MAPI")
oContact = oNamespace.GetDefaultFolder(10).Items.item(1)
oSafeContact = CREATEOBJECT("Redemption.SafeContactItem")
oSafeContact.Item = oContact
When I compare the contents of the properties in the Outlook Object, "oContact" with the properties in the redemption "oSafeContact" object, I get this:
The oContact.fullname = "Matt Curland" and oContact.Email1Address = "
matt@visfox.com"
oSafeContact.fullname = "Matt Curland" and oSafeContact.Email1Address = ""
What am I missing?
-Matt