T
Tom Trulley
Hello!
I'm trying to use FreeBusy Information with Redemption. I use the
following code:
Dim safeRecip
Dim mapiUtil
Set mapiUtil = CreateObject("Redemption.MAPIUtils")
Set safeRecip = mapiUtil.CreateRecipient(myName)
safeRecip.Resolve
freeBusyString = safeRecip.FreeBusy(currentDate,MinutesInterval,false)
This is what freeBusyString contains:
/????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
When I use it without redemption:
Dim recip
Set recip = gNamespace.CreateRecipient(myName)
recip.Resolve
freeBusyString = recip.FreeBusy(currentDate,MinutesInterval,false)
freeBusyString now contains useful information.
I checked that currentDate is a Date, myName is an existing Name,
recip/safeRecip is a working recipient object and MinutesInterval is a
valid number.
I tried to use safeRecip.AddressEntry.GetFreeBusy instead, and I even
tried to create a SafeMailItem first, add a Recipient to it and then
tried to use FreeBusy. All didn't work.
I'm using Outlook 2003 with Exchange Server 2003. Above code doesn't
work with any name (including my name) and any date.
Any Idea?
I'm trying to use FreeBusy Information with Redemption. I use the
following code:
Dim safeRecip
Dim mapiUtil
Set mapiUtil = CreateObject("Redemption.MAPIUtils")
Set safeRecip = mapiUtil.CreateRecipient(myName)
safeRecip.Resolve
freeBusyString = safeRecip.FreeBusy(currentDate,MinutesInterval,false)
This is what freeBusyString contains:
/????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
When I use it without redemption:
Dim recip
Set recip = gNamespace.CreateRecipient(myName)
recip.Resolve
freeBusyString = recip.FreeBusy(currentDate,MinutesInterval,false)
freeBusyString now contains useful information.
I checked that currentDate is a Date, myName is an existing Name,
recip/safeRecip is a working recipient object and MinutesInterval is a
valid number.
I tried to use safeRecip.AddressEntry.GetFreeBusy instead, and I even
tried to create a SafeMailItem first, add a Recipient to it and then
tried to use FreeBusy. All didn't work.
I'm using Outlook 2003 with Exchange Server 2003. Above code doesn't
work with any name (including my name) and any date.
Any Idea?