SafeDistList member has no FreeBusy

  • Thread starter Thread starter Klemens
  • Start date Start date
K

Klemens

I want to get the FreeBusy info for the members of a private
distribution list in my contact folder. When I do it via Outlook OM
directly the second line below
Set oRecp = oDistList.GetMember(i)
strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
receives an error ("Cannot load free/busy information").
Using Redemption the second line
Set oSafeRecp = oSafeDistList.GetMember(i)
strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
returns w/o error but doesn't return any freebusy info.
Using RDO:
Set oRDORecp = oRDODistListItem.GetMember(i)
strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
works fine (luckily).

Why does the Redemption variant not work? Bug? Feature? Workaround?

- Klemens
 
Hello Dmitry,
No, I hoped it would just work with redemption. It works with a
recipient which is created from scratch and the address entry of this
recipient looks pretty much the same as the address entry of the
recipient in the distribution list. So there should be a chance to get
free/busy info for this recipient too.
- Klemens
 
Well, if Outlook reports "Cannot load free/busy information", there is
probably a reason for that...
What exactly do you mean by "pretty much the ssame"? It is either the same
or it is not...

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
"Pretty much" means that the recipients I receive from the GetMember
are not equivalent structural-wise so I only can try guessing. What I
see is that the RDORecipient and the SafeRecipient refer to the same
entry ID and both refer to an "EX" address whereas the native Outlook
recipient refers to a different Entry ID and to an address type
"SMTP". This makes me think that there would be a chance for the
SafeRecipient to support the FreeBusy when the RDORecipient does.
Regards,
Klemens
 
So Outlook returns an SMTP address for that DL member, but Redemption
returns EX (which is correct, right)?
Do you see the f/b for that user from the Outlook UI?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Send an e-mail to my private address and I will send you a version of thee
dll that creates a log file.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top