In addition to configuring the two components described above, you must also create an instance of the class for every e-mail that you send through a scenario. The Scenarios module contains a default instance of this class, /atg/scenario/DefaultTemplateEmailInfo, that you can use as a model. Note that, when you specify the URL of the e-mail template to use for the mailing, you do not need to specify the context root; the SendEmail scenario action (see SendEmail Action) is designed to ensure that the template URL is correctly formed.

For more information on the TemplateEmailInfoImpl class, refer to Creating Targeted E-mail in the Personalization section of this guide.