From a notification editing page you can test any of the channels, including email.
I got this message:
Connection timed out - ConnectException (... < SmtpMailManager:154 < *:99 < NotificatorMail:47 < NotificationResource:96 < ...)
Using office365. The configuration file will be like this:
<entry key='mail.smtp.host'>smtp.office365.com</entry>
<entry key='mail.smtp.port'>587</entry>
<entry key='mail.smtp.starttls.enable'>true</entry>
<entry key='mail.smtp.from'>ivms@mywebsite.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>ivms@mywebsite.com</entry>
<entry key='mail.smtp.password'>xxxxxxxxx</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
What is the reason?
The error message is pretty clear.
Hi Anton,
Not Clear to me. What should I do?
The error message tells us that the server doesn't accept the connection. Where did you get the details from? Why do you have two different ports? Have you verified the details using any SMTP client?
try to selecte the right port and make test
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.port'>587</entry>
comigo acontece o mesmo
mensagem de erro é essa : Connection timed out - ConnectException (... < SmtpMailManager:154 < *:99 < NotificatorMail:44 < Notificator:39 < NotificationResource:107 < ...)
minha configuração no arquivo traccar.xml é essa :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost/traccar?zeroDateTimeBehavior=round&serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
<entry key='database.user'>root</entry>
<entry key='database.password'>root</entry>
<entry key='mail.smtp.port'>587</entry>
<entry key='mail.smtp.starttls.enable'>true</entry>
<entry key='mail.smtp.host'>smtp.gmail.com</entry>
<entry key='mail.smtp.from'>blablabla@gmail.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>blablabla@gmail.com</entry>
<entry key='mail.smtp.password'>blablabla</entry>
</properties>
o que está errado ? minha senha de app está ativada normalmente
Please don't duplicate your questions in the future:
https://www.traccar.org/forums/topic/erro-ao-criar-em-notificacoes-gmail/
Dear Team,
How can I check if email working fine from the server?