guidewire

How to configure email plugin and send email in guidewire


How do we configure email plugin in guidewire so that email can be sent. I have seen EmailUtil class which have method sendEmailWithBody, but its not sending email and neither giving any exception. Can somebody help me?

I have tried configuring email plugin, also tried using EmailUtil, but notjing seems to work. I am not what I am missing here


Solution

  • You should review emailBessageTransport.gwp.

    In Guidewire, emails are sent asynchronously using the Guidewire messaging system. This means that when you invoke EmailUtil.sendEmailWithBody, a message is placed onto the Email Message Queue (ID 65).

    The OOTB message queue uses parameters from emailMessageTransport.gwp to establish a connection with the SMTP server and OOTB it has dummy values.

    For more information on email functionality in Guidewire apps, please refer to "Guidewire ClaimCenter and email" or "Guidewire PolicyCenter and email" articles on https://docs.guidewire.com.