|
 |
asp_cdo thread: Resource Accounts won't procees reservations made in Script??
Message #1 by "Neil Cosgrove" <ncosgrov@s...> on Mon, 22 Oct 2001 18:29:55
|
|
We have several resource mailboxes setup representing conference
rooms. We have set the "automatically accept meeting requests and process
cancellations" flags and this works perfect when a user creates a meeting
strictly through the outlook interface.
The problem is that we are trying to add this functionality through CDO.
Everything works, the conference room receives a message as a resource,
however it doe not respond automatically, the meeting request just sits in
the mailbox looking for someone to "accept" or "decline". I have been
through this code, the knowledgebase, and several books and it is driving
me nuts. Is anyone aware why a meeting request issued from code would not
be processed automatically but a manual one would? THe code fragment
scheduling the meeting is below. Thanks is advance for any help.
Neil
'add individual user names from "|" delimited list.
strName=Request("Names")
if (not IsNull(strName)) then
arName=split(strName,"|")
intBound=Ubound(arName)
i=0
do while(i<=intBound)
if (len(arName(i))>1) then
Set test = meetingRecip.Add(arName(i))
test.Type=1
Set test=nothing
End if
i=i+1
Loop
End if
strRoom=Trim(Request("Room"))
set myResource=meetingRecip.Add(strRoom)
myResource.Type = 3
meetingRecip.Resolve
set myResource=nothing
calRequest.ResponseRequested=1
calRequest.ReminderSet = True
calRequest.MeetingStatus = 1
calRequest.Send
|
|
 |