@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")
I keep giving the same error
post your traccar.xml file settings
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."
When configuring email notifications gives the following error can you help me please: