J
John Brennan
We have been using Redemption for about a year and it has
now stopped populating the "To" field. The environment is
Outlook 2003, Exchange 5.5 the App is written in VFP.
oOutLook = CREATEOBJECT('Outlook.Application') && open
outlook
oSafeItem = CREATEOBJECT('Redemption.SafeMailItem') &&
open redemption
oNameSpace = oOutLook.GetNameSpace('MAPI')
oNameSpace.Logon
oItem = oOutLook.createitem(0) && create new mail message
oSafeItem.ITEM = oItem && create safe item object
WITH oSafeItem
.recipients.ADD(eaddress)
.recipients.ResolveAll
.subject = (tsubject)
.RTFBody= .RTFBody + clBody
.save()
.SEND()
ENDWITH
So it sends but the "To" field is empty when you look at
it in Outlook in the sent items folder.
Ideas?
Thanks
John
now stopped populating the "To" field. The environment is
Outlook 2003, Exchange 5.5 the App is written in VFP.
oOutLook = CREATEOBJECT('Outlook.Application') && open
outlook
oSafeItem = CREATEOBJECT('Redemption.SafeMailItem') &&
open redemption
oNameSpace = oOutLook.GetNameSpace('MAPI')
oNameSpace.Logon
oItem = oOutLook.createitem(0) && create new mail message
oSafeItem.ITEM = oItem && create safe item object
WITH oSafeItem
.recipients.ADD(eaddress)
.recipients.ResolveAll
.subject = (tsubject)
.RTFBody= .RTFBody + clBody
.save()
.SEND()
ENDWITH
So it sends but the "To" field is empty when you look at
it in Outlook in the sent items folder.
Ideas?
Thanks
John