What about the config?
I have it configured in webgui -> settings -> account -> atributes
and there:
mail: SMTP host: my own smtp server
mail: SMTP port: 465
mail: SMTP From: Traccar
mail: SMTP username: traccar(at)mydomain.com
mail: SMTP password: somepassword
mail: Required: checked
mail: Enabled: checked
mail: Enable SMTP Auth: checked
And it worked for traccar 5.0
BR
Pawel
Ok, i changed it to traccar.conf and there:
<entry key='mail.smtp.host'>mySMTPserver</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.from'>email_address</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>username</entry>
<entry key='mail.smtp.password'>password</entry>
I thing that smtp.ssl.enable is missing in WEB GUI. I don't remeber if it was in 5.0 but there email notifications was worked configured like above in WEB GUI.
I thing that smtp.ssl.enable is missing in WEB GUI.
I can see it there.
Ok. Now I found after switching language to ENG. There are some translation to PL errors. In polish this parametr is something like: "mail: enable" withount any SSL.
Thanks Anton :)
You can help us with the translation here:
Ok I corrected few translations (including these about email) and add few missing. Now Polish translation looks good in my opinion and it's complete.
BR
Pawel
Thank you.
Same problem here. ENG UI, btw.
Solved switching from
Per-user configuration in user attributes
to
Server-wide parameters in the server config file (traccar.xml)
Anyway, I checked the DB backup made before deleting the "per-user configuration"
and I noticed that during the upgrade were added these two fields in the user attributes:
mail.smtp.starttls.enable:true
mail.smtp.starttls.required:true
Regards,
francis3
We don't add any attributes automatically, if that's what you mean.
Sounded strange to me, you were adding attributes between upgrades.
Gonna investigate more accurately, and report.
Thx, Anton!
Regards,
francis3
We add attribute definitions. We don't add values to users.
Obviously you were right, Anton!
I checked previous DB backups and the two attributes mentioned above were already there before the upgrade to
traccar 5.2.
My bad while I was playing with user attributes.
Thx for your assistance, Anton!
Regards,
francis3
hello, I have a problem with emal notifications;
It previoulsy work on 5.0 but after upgrade to 5.2 without configuration changes it not working.