Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Resource Accounts Do Not Automatically Process requests sent from Code (?)


Message #1 by "Neil Cosgrove" <Neil Cosgrove> on Mon, 10 Sep 2001 15:25:52
   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


  Return to Index