Portal, V6.1
Before you can create an e-mail action or promotion within the Personalization workspace you need the following:
A user resource. This resource contains information about potential e-mail recipients, and can be created with the Personalization resource wizard in Rational Application Developer. The resource must include a string representing the e-mail address of the recipients (in the form “username@domain”) and must be published to the workspace server and to the run-time environment.
An e-mail body. The body of the e-mail 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 e-mail rule. The e-mail body HTML or JSP page must be on the server which is sending the e-mail.
- An e-mail rule. The e-mail rule specifies to whom the e-mail should be sent, who is sending it, and identifies the e-mail body as a URI.
A rule to determine recipients (for e-mails triggered on a schedule or periodically, optional for e-mail actions). This rule can be a select content action or a binding, but must return a collection of recipients from the user resource mentioned above. The action or rule you create becomes an option of the To list. If your actions or rules are not properly defined, the To list displays “No Matching Rules”.
It is possible to create e-mail actions or promotions that are sent to a predefined address or list of addresses, simply by typing them into the To field when creating the e-mail action or promotion.
A rule event (for e-mails triggered on a schedule or periodically).
The rule event binds the e-mail rule to the rule which determines the recipients.
The rule event says that 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.
Parent topic
Rules