📜 ⬆️ ⬇️

Configuring Siebel Email Marketing Server

Introduction


Siebel CRM is about interacting with customers in three main process groups: sales, marketing and service. Siebel by default supports almost all the main channels of interaction: Email, SMS, CTI, Web. This article will only look at the opportunities Siebel provides for marketing through the Email channel.

Task: Set up the infrastructure for marketing emails. This infrastructure should allow to collect information about non-delivery of messages, opening of messages and clicking on links within messages. Letters must be personalized, that is, contain an appeal to the client by name. Recipient lists should be generated automatically according to the specified criteria at the time the campaign starts. It should be possible to specify specific information on a specific proposal, a specific user.

Note: The SMTP protocol, which sends letters on the Internet, does NOT imply delivery reports and recipient's actions with a letter: opening, deleting, marking as spam. The good news is that by default there are reports of delivery problems (bounced email). If there are no problems, it can be stated with certain confidence that the letter has been received. There is also a way to track the opening of the letter. Unfortunately, this method has its limitations.
')
To configure Email campaigns in Siebel, in addition to the basic set of software modules (Siebel Web Server, Siebel Application Server (s), Siebel Gateway, Siebel Database), you will need to install additional:

  1. SMTP Relay Server - any mail server that can send e-mails and that can communicate without authentication.
  2. Email Sending Daemon (ESD) is a utility that allows you to collect letters from a template and a specific set of data and sends them to the SMTP Relay Server.
  3. Bounced Handling Daemon (BHD) is a utility that can receive and parse reports of delivery problems (bounced email).
  4. Click Through Daemon (CTD) is a utility that can handle HTTP requests (referrals, request for resources). We will need this thing to record information about the opening of the letter and about the transition to the links inside this letter.
  5. Network Gateway - a router on the server, which on the one hand is accessible from the Internet, on the other can forward certain requests to the company's internal network. Its configuration is necessary in order to send bounced email (port 25) to the server from BHD and to transmit HTTP requests (port 80) to the server from CTD.
  6. Business Intelligence (BI) is a tool that allows you to define complex criteria for sampling data by customer. Within our infrastructure, BI has two tasks: segmentation of the client base for the marketing campaign, formation of a list with the data for substitution in the letter body. Data for these operations BI can take both from the Siebel database, and from the repository.




Basic setting


If up to this point on the project, marketing campaigns in Siebel have not been used at all, then you need to do the following:
  1. run the necessary server components
    docs.oracle.com/cd/E14004_01/books/MKTG_InstallAdmin/mktg_installadmin_installmktg4.html#wp186724
  2. activate marketing workflow
    docs.oracle.com/cd/E14004_01/books/MKTG_InstallAdmin/mktg_installadmin_installmktg5.html#wp186830
  3. set up integration with BI (I assume that it is already installed and working)
    docs.oracle.com/cd/E14004_01/books/MKTG_InstallAdmin/mktg_installadmin_installmktg7.html#wp224347


Install and configure the basic components of Siebel Email Marketing Server


ESD, BHD and CTD are collectively called the Siebel Email Marketing Server. Distributions for these utilities can be downloaded from support.oracle.com, section “Patches & Updates”

Note: At the time of this writing, the latest build had the number 629.
Note: JDK6 must be installed on the target servers for these components to work.

Email Sending Daemon


To configure ESD, you must make the following changes to the esd.properties file.
  1. When you start ESD, it is authorized in Siebel to check whether you have a license to use Siebel Marketing Server. For this, it uses the Web Service technology:
    esd.handler.webservice.url=http://sbl81srvr01/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1 esd.handler.webservice.username=ESD esd.handler.webservice.password=ESD 

  2. In order for ESD to be able to collect letters, it needs a list with recipients and a letter template. Siebel will upload this data as files to its file system, to which the ESD should have access:
     esd.mountPoint=c:/Siebel/fs 

  3. ESD must know the name of the mail server (SMTP Server) through which the letters will be sent:
     esd.mailServers=sbl81srvr01 


Running ESD is easiest as a service. For this, a special installer is provided for this: install-win32-service.bat.

Note: Another action that needs to be done before starting ESD: comment out the lines in the esd-axis2.xml file:
 <parameter name="Transfer-Encoding">chunked</parameter>. 

This is due to an error that is described on support.oracle.com.

If everything is configured correctly, then after running in the logs (esd.log) you can see the following:
 2015-08-26 17:21:06,362 [Thread-1] INFO OnPremiseAppListener ESD is licensed. 


Now you need to tell Siebel, where is the ESD, to give him a job on the newsletter. For this you need:
  1. go to the Administration - Web Services -> Outbound Web Services screen
  2. find a service called SendMailingService
  3. For the Service Port with the name SendMail, you need to specify the address of the server where the ESD is deployed


Now the Siebel ‒ ESD bundle should work and Siebel will be able to set tasks for ESD to send letters.

Bounce handling daemon


To configure BHD, you must make the following changes to the bhd.properties file.
  1. Parameters of access to the Web Service in Siebel, through which BHD will check for licenses at startup and send information about all received bounced email:
     BhdModule.handler.webservice.url = http://sbl81srvr01/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1 BhdModule.handler.webservice.username = BHD BhdModule.handler.webservice.password = BHD 

  2. The port number that BHD will listen to and expect to receive bounced email:
     SMTPD.port=8096 

    It is better not to use the standard port 25, you need administrator rights. The easiest way is to set the port in the range of 8000-900.


If everything is configured correctly, then after running in the logs (bhd.log) you can see the following:
 2015-08-26 18:20:48,823 [main] INFO OnPremiseMain BHD is licensed. …. 2015-08-26 18:20:49,104 [main] INFO SMTPDaemon started; waiting for connections 


Click-through Daemon


To configure CTD, you need to make changes to the ctd.properties file
  1. Parameters of access to Web Service in Siebel, through which CTD will check for a license at startup and send information to Siebel about all HTTP requests that will be generated when the recipient works with the letter (clicking on links, requesting pictures)
     ctd.webservice.url = http://sbl81srvr01/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1 ctd.webservice.username = CTD ctd.webservice.password = CTD 


This utility can also be installed as a Windows service using the install-win32-service.bat script.

If everything is configured correctly, then after running in the logs (ctd.log) you can see the following:
 2015-08-26 18:31:49,365 [Thread-1] INFO OnPremiseAppListener CTD is licensed. … 2015-08-26 18:31:49,443 [Thread-1] INFO Registry Options configured for service: class com.siebel.sem.ctd.integrated.CTDRegisterWebService 2015-08-26 18:31:49,443 [Thread-1] INFO Registry Registering [urn:xml-initialize-ctd] with class [com.siebel.sem.ctd.integrated.CTDRegisterWebService] 

Note: In the c: \ Siebel \ EMS \ ctd \ webapps \ ctd \ enu \ folder there are page templates that are used if the recipient of the letter decides to unsubscribe. They can be modified in accordance with the company's corporate style.

Siebel Setup


In order to use BHD and CTD, it is necessary to configure at the Siebel level. On the Administration - Marketing  Servers screen, you need to find the Email Marketing Server entry and, for the BHD and CTD parameters, the name of the server that acts as the gateway between the Internet and the enterprise local network.

It is important to specify the domain name, not the IP address. In addition, this domain name must be resolved from the Internet. If you do not comply with these conditions, then external mail services will interpret your letters as spam.

Network gateway


On the router, which will receive bounced email and HTTP requests, packets must be configured to forward from the external network interface to the internal:
  1. packets that arrive on port 25 of the external interface, forward to the server where BHD is deployed, to the port that it is listening to;
  2. packets that arrive on port 80 of the external interface should be forwarded to the server where CTD is deployed, to the port that it is listening to.

On the external interface, it is important to use these ports, otherwise there will be problems with external mail services.

Test mailing


Letters that have already been sent back will not work. Therefore, before sending, you should always send out to some predefined test addresses. To do this, you can create a fixed list through List Management and link it to the marketing campaign that will be used.
In order to verify that we have all set up correctly, we need to do the following:
  1. create a test mailing list
  2. create a test offer (Offer) and define an Email for it (Treatment)
  3. create a marketing campaign, link it with a test list and email address
  4. launch this marketing campaign

In the following material we will focus on the creation of email-addresses. It is there that many interesting things happen.

Source: https://habr.com/ru/post/266799/


All Articles