To handle incoming e-mail automatically through the Service Engine interface, use Mail Event Condition Actions (MECAs).
Note
Note: The OFBiz processes for handling incoming e-mail are not the same as those for sending e-mail. To configure OFBiz to send e-mail, please see the ~framework/common/config/general. properties
file.
A few steps to ensure before we can use Services to handle e-mail:
1. To trigger one or more Services based on the receipt of incoming e-mail, you will need to enable the OFBiz inbound e-mail listener by removing the appropriate comments from the
JavaMail Listener Container
entry in ~framework/base/config/ofbiz-containers.xml.2. Implement one or more Services using a Service implementation language of your choice to handle processing based on the occurrence of a mail Event.