Email administration
View the steps you need to complete before the run time server can send personalized email.Before the run time server can send personalized email:
- Verify 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 admin 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 you have configured. If we are creating a new mail session, specify a Mail Transport Host. This is the mail server Personalization uses to send email. If the mail server is secured, 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, you configure how often Personalization checks for rule events that run scheduled or repeating emails. We can also configure the mail session being used.
Parent: Rules