Email administration
Before the run time server can send personalized email:
- Verify that the pznscheduler.ear is as an Enterprise Application.
- Have a properly configured and operating SMTP email server.
JavaMail provides the SMTP required to send email. We can manage email responses from customers and outgoing error conditions (such as an unknown email address) using a standard email client.
- Configure a Mail Provider using the WAS console.
- Click Resources > Mail > Mail Providers.
- Create a mail session to use with Personalization. By default, Personalization looks for a mail session in mail/personalizationMailSession/jndi. The JNDI name used is configurable in the PersonalizationService.properties file to use Personalization with an existing mail session we have configured. If we are creating a new mail session, we must specify a Mail Transport Host. The mail server Personalization uses to send email. If the mail server is secured, we must specify a Mail Transport User ID and Mail Transport Password.
- Restart the server on which the email rules execute for the changes to take effect.
- Additional configuration is available through the PersonalizationService.properties file. Using this file, we configure how often Personalization checks for rule events that run scheduled or repeating emails. We can specify what port an email rule will try to connect to when retrieving the bodyuri of the rule. We can also configure the mail session being used.
Parent topic: Rules