Can't set the correct URL for my email notifications

cancel
Showing results for 
Search instead for 
Did you mean: 
savo
Active Member II

Can't set the correct URL for my email notifications

Jump to solution

Hey,

I am using System email templates, and in the APS docs it says I have to change email.base.url, so mails would have the correct link to their tasks, or whatever. Example:  http://192.168.1.24:8090/activiti-app/workflow/#/task/37506, but all I get, after configuring is: http://localhost:8080/workflow/#/task/37506 
What to do?

Thanks.

Alfresco Process Services 1.8

#
# EMAIL
#

email.enabled=true
email.host=mail.t-com.me
email.port=99
email.useCredentials=true
email.username=*mail address is correct*
email.password=*password is correct*
email.base.url=http://192.168.1.24:8090/activiti-app

email.from.default=no-reply@alfresco.com
email.from.default.name=Alfresco Process Services
email.feedback.default=activiti@alfresco.com

1 Solution

Accepted Solutions
savo
Active Member II

Re: Can't set the correct URL for my email notifications

Jump to solution

Reason why this happened is because activiti-app.properties in '.../tomcat/lib' had, for some reason already defined email.base.url=localhost:8080, somewhere in the bottom of the page. Commenting that out fixed it.

View solution in original post

3 Replies
jeffrosler
Partner

Re: Can't set the correct URL for my email notifications

Jump to solution

Are you really using APS? I see in your post that you say Alfresco Enterprise 5.2.3. If you're using Alfresco Content Services, there are different settings that you use for notifications (see Outbound SMTP configuration properties | Alfresco Documentation ). I've got an example that works for APS that you can see on a recent blog post I did (see https://www.ziaconsulting.com/developer-help/using-docker-alfresco-process-services/ ).

savo
Active Member II

Re: Can't set the correct URL for my email notifications

Jump to solution

Oops, my mistake. It's APS 1.8.1

Anyway, I have already seen your tutorial and it's exactly what I had expected I had had to do. But still, when I get the notification email, it lead me to localhost:8080

I will try later with a gmail account.

savo
Active Member II

Re: Can't set the correct URL for my email notifications

Jump to solution

Reason why this happened is because activiti-app.properties in '.../tomcat/lib' had, for some reason already defined email.base.url=localhost:8080, somewhere in the bottom of the page. Commenting that out fixed it.