Hi all,

I analyse email notification in OFBiz to set a generic system for a crm et project managment components.

We have two entity to manage email notification : EmailTemplateSetting and ProductStoreEmailSetting. In OFBiz history, the first entity used was ProductStoreEmailSetting, for automatic email during ecommerce process and in last time the EmailTemplateSetting for specific notification.

Both entities have the same field : bodyScreenLocation, xslfoAttachScreenLocation, fromAddress, ccAddress, bccAddress, subject, contentType. Just primary key are differents.

To simplify the notification system, I will suggest :
* use only EmailTemplateSetting to edit email configuration
* associate ProductStoreEmailSetting to EmailTemplateSetting
* convert all service and screen that use ProductStoreEmailSetting
* create convert service.
* add contentId on EmailTemplateSetting (hors templaceContentId) to use a content for rendering email

If somebody are interest, I can open a jira issue to manage this improvement.

Any suggest ?

Nicolas

Reply via email to