Email Templates parameter

Hani T7 years ago

Hello,

First of all Congrats on your great work, I would like to ask about the email template,

$webUrl?eventId=$event.id

where this url should point to?

cause in my case it links to an invalid IP address

Anton Tananaev7 years ago

It should point to your Traccar instance. You can configure URL using web.url configuration parameter.

Hani T7 years ago

Aha I see, it's clear to me now that the invalid IP I've got is caused by faulty configuration of the network adapter.
The web.url configuration parameter should do the trick here.

Thanks Anton
Best regards

Hani T7 years ago

<entry key='web.url'>http://my-server-ip-adreess:8080/</entry>

event after setting up the parameter i still get invalid IP address not the URL I set up in the parameter

Anton Tananaev7 years ago

Have you restarted service? What version are you using?

Hani T7 years ago

Yes I have restarted the service, I am using the latest version 3.14

Anton Tananaev7 years ago

It should work then. You can also just hardcode URL in the template.

Hani T7 years ago

yes I already done that :) to solve my problem, just mentioning it to let you know about that issue and let other makes use of this answer.

Thank you