Expand my Community achievements bar.

SOLVED

Host on Email Notifications

Avatar

Level 6

Hi,

I am configuring the Email notification on AEM and I'm facing some issues to configure the host of the links sent in the email notifications. They are being sent as http://localhost:4502

I followed the instructions at [1]

The Day CQ Mail Service and Day CQ Workflow Email Notification  are set to use the server host name. I've also changed the Externalizer service on Web Console to use the server's host.

But it keeps using localhost.

Is there any other configuration that I should look into?

Att.

 

 

[1] https://docs.adobe.com/docs/pt-br/aem/6-0/administer/operations/notification.html

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi Guys,

I was able to make it work, I need to add a sling:OsgiConfig for this service:

com.day.cq.workflow.impl.email.TaskEMailNotificationService

Then it took the right host configuration for the email.

@smacdonald2008, I'm using AEM 6.1.

Thanks for all your help.

View solution in original post

6 Replies

Avatar

Employee Advisor

Did you also restart AEM after updating the configurations or restarted the "com.day.cq.workflow.cq-workflow-impl" bundle  ? 

Avatar

Level 6

Hi kunal23,

Yes, I did restart the server and also tried restarting the bundle. But it is still getting localhost:4502 prefix.

Is there any other place that I should check?

Thanks

Avatar

Level 10

So in Host URL prefix field- you specified another domain and AEM is ignoring that and using localhost instead? 

WHat version of AEM Are you using? 

Avatar

Correct answer by
Level 6

Hi Guys,

I was able to make it work, I need to add a sling:OsgiConfig for this service:

com.day.cq.workflow.impl.email.TaskEMailNotificationService

Then it took the right host configuration for the email.

@smacdonald2008, I'm using AEM 6.1.

Thanks for all your help.

Avatar

Level 9

franciscoribeir wrote...

Hi,

I am configuring the Email notification on AEM and I'm facing some issues to configure the host of the links sent in the email notifications. They are being sent as http://localhost:4502

I followed the instructions at [1]

The Day CQ Mail Service and Day CQ Workflow Email Notification  are set to use the server host name. I've also changed the Externalizer service on Web Console to use the server's host.

But it keeps using localhost.

Is there any other configuration that I should look into?

Att.

 

 

[1] https://docs.adobe.com/docs/pt-br/aem/6-0/administer/operations/notification.html

 

 I am assuming configuration is done correctly then the only possibility is that issue with Email template. Just make sure it does not have any hard-coded host name. 

--

Jitendra

Avatar

Level 2

Hi ,

I seeing the same issue with approach mentioned in https://docs.adobe.com/docs/pt-br/aem/6-0/administer/operations/notification.html

I'm using AEM 6.2

 

Thanks,

Hemanth