VERIFIED SOLUTION i

Portrait Dialogue: How to perform spam check of a emaketing template via proxy

Product Feature: Spam Rating
 
Spam check can be performed in Visual Dialogue using a proxy server. For this, ExternalServicesPlugin.dll.config needs to be altered.
ExternalServicesPlugin.dll.config is located at in the directory <..>\Million Handshakes\Dialog Server\DialogServerPlugins\ExternalServices.

Default location for this file is: C:\Program Files (x86)\PST\Million Handshakes\Dialog Server\DialogServerPlugins\ExternalServices.
<useDefaultWebProxy> setting needs to be added in the <basicHttpBinding>.


<basicHttpBinding>
        <binding name="BasicHttpBinding_IEmailUtilitiesService" closeTimeout="00:01:00"
          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="256000" maxBufferPoolSize="524288" maxReceivedMessageSize="256000"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="256000" maxArrayLength="16384"
            maxBytesPerRead="4096" maxNameTableCharCount="16384" />

            <useDefaultWebProxy="false" proxyAddress = "http://<local_system_IP>:8080">

          <security mode="TransportWithMessageCredential">
            <transport clientCredentialType="None" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
 </basicHttpBinding>

Refer attached 'ExternalServicesPlugin.dll.config' modified as required. '<local_system_IP>' is the placeholder for client system IP.

Note:
  • ​Configuration takes effect only for plugin.
  • Results page displayed in Visual Dialogue uses direct internet connection to PBS Cloud server.
  • In this case, each and every PC used by clients, needs to have this proxy server set up in system configuration. Internet Browser of the client machines needs to be configure to make this work. For Internet Explorer Internet option / Local Area Network setting / Proxy setting needs to be configured.
UPDATED:  April 4, 2017