Whatever message this page gives is out now! Go check it out!
action="open" username ="#user#" password="#password#" server="#exchangeServerIP#" connection="conn1"> <!--- Get all meeting notifications from the Inbox. ---> <cfexchangemail action="get" name="requests" connection="conn1"> <cfexchangefilter name="MessageType" value="Meeting"> </cfexchangemail> <!--- Get the meeting request data and put it in an array. ---> <cfset i=1> <cfset meetingData=ArrayNew(1)> <cfloop query="requests"> <cfexchangemail action="getmeetinginfo" connection="conn1" name="meeting" meetinguid="#MeetingUID#" mailUID="#UID#"> <cfset meetingData[i]=meeting> <cfset i=i+1> </cfloop> <!--- Loop through the request data array and delete any outdated meeting messages from the Inbox. ---> <cfloop index="i" from="1" to="#ArrayLen(meetingData)#" > <cfif meetingData[i].StartTime LTE now()> <cfexchangemail action="delete" connection="conn1" UID="#meetingData[i].UID#"> </cfif> </cfloop> <cfexchangeconnection action="close" connection="conn1"> |