Expand my Community achievements bar.

SOLVED

workflow email notification from address

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 4

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.

View solution in original post

3 Replies

Avatar

Level 10

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

Avatar

Level 2

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?

Avatar

Correct answer by
Level 4

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.