DNS Redirector
 Return to FAQ List


FAQ 120: Enable MakeRequest function of the Blocked site

Category: BlockedIP function | Updated: 03/15/2014 10:42 PM


On some Windows 2003/2008 servers it is necessary to install "Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1"
Downloaded as: ExchangeMapiCdo.exe
Run this file to extract, then install ExchangeMapiCdo.msi

After installing, register the .dll by running this command:
regsvr32 "C:\WINDOWS\system32\cdosys.dll"

In the root of your blocked site, modify \email.asp (near bottom of the file) to include (uncomment) the .Configuration.Fields.Item lines as shown below...

With objCDO
   .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
   .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "yoursmtpserver.example.com"
   .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
   .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
   .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
   .Configuration.Fields.Update
   .To = strTo

Update "yoursmtpserver.example.com" with the IP or hostname of your SMTP server which is allowed to relay email.

On a 64-bit server running IIS, in the Advanced Settings of the application pool for your blocked site, set Enable 32-Bit Applications: True (as shown here)

For other issue see here and here.



Related articles
FAQ 76  Using the suggested blocked site in IIS

 
DNS Redirector | Legal Information | 2003-2017