There is a problem with boolean values. You need to add them as string attributes manually. That's a known issue in the last release.
java.lang.Boolean cannot be cast to java.lang.String - ClassCastException (ExtendedModel:89 < PropertiesProvider:39 < NotificationMail:57 < ...)
Can someone please explain how to fix that
Yes please!
Putty:
cd /var/docker/traccar/default.xml
vi traccar.xml
(Press insert)
(https://imgur.com/a/OXyu1)
<entry key='filter.enable'>true</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.distance'>10</entry>
<entry key='mail.smtp.host'>smtp.gmail.com</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.from'>youremail@gmail.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>youremail@gmail.com</entry>
<entry key='mail.smtp.password'>yourpass</entry>
Scape
:x
mail.smtp.starttls.enable true
mail.smtp.ssl.enable true
"You need to add them as string attributes manually."
...for Traccar Demo Servers???
(Error: ClassCastException)
Those attributes should be string type instead of boolean. Unfortunately there is no way to do it through official web app. The only way to do it is via web API:
Hi,
i can't send mails, check all possibles configurations
please see the logs that came from the container when trying to send mail from server
i also use mysql container if it change anything..
configuration from server side
check that with ssl port 465
please help
thanks