The GetAnonConfig function gets configuration information needed to open an anonymous CDO session by retrieving this information from the Windows NT registry, using the following command:
objRenderApp.LoadConfiguration 1, _
"HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeWeb\Parameters"
This function could be rewritten to use hard-coded information, or it could retrieve configuration information using Request.QueryString.