Email transmission
Guidewire PolicyCenter, from the user's perspective, sends emails asynchronously by using the PolicyCenter Messaging subsystem. If there is a method call for one of the EmailUtil.sendEmail methods, PolicyCenter creates a Message entity with the contents and other information from the Email object.
In the sendEmail method parameters:
- If the entity parameter is non-null, PolicyCenter adds the Message entity to the entity transaction bundle. PolicyCenter persists the Message entity any time that it creates the bundle.
- If the entity parameter is
null, PolicyCenter persists the Message entity immediately.
PolicyCenter then processes the messages one at a time and sends out the emails associated with that message.
Note: You must configure a MessageTransport class to consume the email messages and perform the actual transmission of the email.
