Host on Email Notifications | Community
Skip to main content
francisco_ribei
December 8, 2015
Solved

Host on Email Notifications

  • December 8, 2015
  • 6 replies
  • 2118 views

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

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 francisco_ribei

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.

6 replies

Kunal_Gaba_
December 8, 2015

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

francisco_ribei
December 8, 2015

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

smacdonald2008
December 8, 2015

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? 

francisco_ribei
francisco_ribeiAuthorAccepted solution
December 8, 2015

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.

Jitendra_S_Toma
December 9, 2015

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

August 31, 2016

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