workflow email notification from address | Community
Skip to main content
homervillanueva
October 16, 2015
Solved

workflow email notification from address

  • October 16, 2015
  • 3 replies
  • 1705 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by narayanank84409

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.

3 replies

smacdonald2008
October 16, 2015

In CQ 5.6 - the Form EMail Address is set in the From Addresses field set in the Day CQ Mail Service row/ See:

http://docs.adobe.com/docs/en/cq/5-6-1/administering/notification.html

homervillanueva
October 16, 2015

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?

narayanank84409
narayanank84409Accepted solution
October 16, 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.