workflow email notification from address

Avatar

Avatar

homervillanueva

Avatar

homervillanueva

homervillanueva

15-10-2015

I have setup the "CONFIGURING THE WORKFLOW EMAIL NOTIFICATION SERVICE" and "CONFIGURING THE MAIL SERVICE" so that workflow can send email notification.

https://docs.adobe.com/docs/en/cq/5-6-1/administering/notification.html#Configuring the Workflow Email Notification Service

The issue I am encountering is that, though I set the value of the From-Email-Address in "CONFIGURING THE WORKFLOW EMAIL NOTIFICATION SERVICE", the workflow notification email still getting the from address email from  "CONFIGURING THE MAIL SERVICE".

Is there any one had encountered this? By the way I am using AEM 5.6.1.

View Entire Topic

Avatar

Avatar

narayanank84409

Avatar

narayanank84409

narayanank84409

15-10-2015

homervillanueva wrote...

I need to override the default email address set in " Day CQ Mail Service" because I need it to show different email address for workflow notification.

Based from the documentation [1] "When you receive workflow email notifications, both the from-email address and the host URL prefix are set to default values. You can change these values by configuring the Day CQ Workflow Email Notification Service in the Web Console. If you do so, it is recommended to persist the change in the repository."

[1] https://docs.adobe.com/docs/en/cq/5-6-1/administering/notification.html#Configuring the Workflow Email Notification Service

I was able to set the from-email-address in "Day CQ Workflow Email Notification Service" and verified as well the values are saved in jcr repository "/apps/system/config/com.day.cq.workflow.impl.email.EMailNotificationService.config". Even after doing so, the from-email-address that appears in the workflow email notification is still the same value set in "Day CQ Mail Service". 

Any other option for me to try?

 

 

 

 

 

You can write your own class using Java Mail API.

There you can set ur own address.