Have configured SMTP in configuration file tracker.xml server.log shows "No SMTP configuration found"

Arunesh Dutta7 years ago

I added the SMTP setting in the tracker.xml as in guide.SMTP isn't working for notifications like device online .Server.log shows No SMTP Confirguration found.Reference of my setting in tracker.xml is under https://drive.google.com/file/d/1mGn8W0H2GXEnQSjT9EdZaPRoG7dfgvLC/view?usp=sharing

Anton Tananaev7 years ago

Have you restarted service after adding those lines?

Arunesh Dutta7 years ago

Thanks it works after restart

Matias4 years ago

Hi. I have add this configuration in conf/traccar.xml and restart traccer services and didnt work. Is this enought restarting traccer services? Should i restart entire server? Is anything else wrong in my conf?

    <entry key='database.driver'>org.h2.Driver</entry>
    <entry key='database.url'>jdbc:h2:./data/database</entry>
    <entry key='database.user'>sa</entry>
    <entry key='database.password'></entry>
  
    <entry key='mail.smtp.host'>smtp.e-gps.com.ar</entry>
    <entry key='mail.smtp.port'>465</entry>
    <entry key='mail.smtp.ssl.enable'>true</entry>
    <entry key='mail.smtp.from'>tracker@e-gps.com.ar</entry>
    <entry key='mail.smtp.auth'>true</entry>
    <entry key='mail.smtp.username'>tracker@e-gps.com.ar</entry>
    <entry key='mail.smtp.password'>Tracker_mail_pass!</entry>