View the prerequisites for creating an email action or promotion within the Personalization workspace.An email promotion is an email message automatically sent to a defined list of recipients by an executing rule. email promotions can be sent once or repeatedly on regular intervals. The body of the email message is derived from a file on the server, such as a text file, an HTML file, or even a JSP containing content spots for rules. This file can be chosen from the authoring repository. The list of recipients can be derived dynamically from a rule. email promotions are implemented using a rule event to trigger an email rule on a schedule.
Before we can create an email action or promotion within the Personalization workspace, you need the following:
A user resource. This resource contains information about potential email recipients, and can be created with the Personalization resource wizard in Rational Application Developer. The resource must include a string representing the email address of the recipients (in the form “username@domain”) and must be published to the workspace server and to the run time environment.
An email body. The body of the email is a flat text, HTML or JSP file that must exist on a server accessible from the run time environment. Typically, this file is created in Rational Application Developer. The location of the file in the run time environment must be specified as a URI when creating the email rule. The email body HTML or JSP page must be on the server which is sending the email.
- An email rule. The email rule specifies to whom the email should be sent, who is sending it, and identifies the email body as a URI.
A rule to determine recipients (for emails triggered on a schedule or periodically, optional for email actions). This rule can be a select content action or a binding, but must return a collection of recipients from the user resource that was previously mentioned. The action or rule you create becomes an option of the To list. If the actions or rules are not properly defined, the To list displays “No Matching Rules”.
It is possible to create email actions or promotione sent to a predefined address or list of addresses, simply by typing them into the To field when creating the email action or promotion.
A rule event (for emails triggered on a schedule or periodically). The rule event binds the email rule to the rule which determines the recipients. The rule event saythat at a given time or times in the future, a specific rule should be executed once for each user in a list. That list is determined by the rule to determine recipients.
For more information about configuring email activities, refer to Configuring email activity accounts.
Parent: Rules
Related: