error when configuring email notifications

Joseph Santos7 years ago

When configuring email notifications gives the following error can you help me please:

Invalid Addresses - 
SendFailedException (... < 
NotificationMail:121 <
NotificationResource:73 < ...)
Turbovix7 years ago

@Joseph Santos, See if your settings look like these no "traccar.xml", remembering that you can do them via attributes!

    <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'>XXXXXX@XXXXXX.net</entry>
    <entry key='mail.smtp.auth'>true</entry>
    <entry key='mail.smtp.username'>XXXXXXX@XXXXXX.net</entry>
    <entry key='mail.smtp.password'>XXXXXXXXX</entry>

(https://www.traccar.org/documentation/ "Documentation")

Joseph Santos7 years ago

I keep giving the same error

Turbovix7 years ago

post your traccar.xml file settings

visiondrive7 years ago

Please see https://www.traccar.org/forums/topic/sms-or-email-notifications/

Also ensure your server IP is listed as a trusted connection in your google account to disable Two Factor Authentication

"For SMTP I am using GMAIL - again you need to setup the account and make your server a trusted connection point with Google to disable two factor authentication for the SMTP login."