after having passed my server to a VPS sending the email is giving a "comunication failure" error, with the same settings as when it was in place, the site was working
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key="config.default">./conf/default.xml</entry>
<entry key='web.port'>80</entry>
<entry key='database.driver'>org.postgresql.Driver</entry>
<entry key='database.url'>jdbc:postgresql://127.0.0.1:5432/traccar</entry>
<entry key='database.user'>[user]</entry>
<entry key='database.password'>[password]</entry>
<entry key='server.timeout'>1800</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'>cadore.william@gmail.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>cadore.william@gmail.com</entry>
<entry key='mail.smtp.password'>[password]</entry>
</properties>
If you get an error it means that either configuration is incorrect or there is some network issue.
yes, it makes sense, but if it was working on the other server, all that remains is to configure the VPS network?
You need to check if it's a network issue.
Just a small contribution to some of the standard drop-outs by default all smtp or mail ports recently closed I had to ask the support of digital ocean to open these doors for me in their dedication maybe it's their case
Ah okay.
I opened a ticket asking about it, I thought it could be, because neither with postfix I could not connect externally with Gmail, thank you very much for the help.
after having passed my server to a VPS sending the email is giving a "comunication failure" error, with the same settings as when it was in place, the site was working
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'> <properties> <entry key="config.default">./conf/default.xml</entry> <entry key='web.port'>80</entry> <entry key='database.driver'>org.postgresql.Driver</entry> <entry key='database.url'>jdbc:postgresql://127.0.0.1:5432/traccar</entry> <entry key='database.user'>[user]</entry> <entry key='database.password'>[password]</entry> <entry key='server.timeout'>1800</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'>cadore.william@gmail.com</entry> <entry key='mail.smtp.auth'>true</entry> <entry key='mail.smtp.username'>cadore.william@gmail.com</entry> <entry key='mail.smtp.password'>[password]</entry> </properties>