Notifications email doesnt work Traccar Latest

John7 years ago

Hello there,

I have read the manuall and the documentation. I have tried all the possible configurations but when I press the Test Notification button I got a message no connected or something like that.

Is there a bug already known ?

Also when I add the settings to the user profile and log in and log out the mail settings are gone!

Any ideas?

I have traccar server laster in Linux.

Thanks

John

Anton Tananaev7 years ago

Please be more specifics about what you have tried and what error messages you get. Logs, screenshots etc.

John7 years ago

i get a message "communication failure" without any log. What file i shall look for log?

Screenshot here for the user settings

https://ibb.co/hZSSiJ

And also i have this settings that work from cpanel on how to configure

Mail Client Manual Settings
If you do not see an auto-configuration script for your client in the list above, you can manually configure your mail client using the settings below:

Secure SSL/TLS Settings (Recommended)
Username: gps@jkdirections.com
Password: Use the email account’s password.
Incoming Server: mail.jkdirections.com
IMAP Port: 993 POP3 Port: 995
Outgoing Server: mail.jkdirections.com
SMTP Port: 465
IMAP, POP3, and SMTP require authentication.

Anton Tananaev7 years ago

You mentioned that settings disappear when you logout and login? Are you sure you saved USER after adding attributes?

John7 years ago

I have logged out and logged in again and settings are there now. I dont know what strange behavior is that.
But mail still not working :(

I can successfully ping mail.jkdirection.com from my linux vps.

Anton Tananaev7 years ago

How did you ping? Have you tried any other SMTP client with same settings?

John7 years ago

Yes i have just tried to create email account with microsoft outlook and succeeded

https://ibb.co/j00zVy

Anton Tananaev7 years ago

OK, please provide screenshot of the error.

John7 years ago

https://ibb.co/cQJ6cd

the email of the account is jorfan81@hotmail.com

Thanks for your quick support

Anton Tananaev7 years ago

It looks like a problem with network connection. Check network request and response details in the browser console.

John7 years ago

From google chrome Network Console, i get

Failed to load resource: the server responded with a status of 404 (Not Found)

On Headers tab i get the following:

Request URL: http://gps.jkdirections.com:8082/api/notifications/test
Referrer Policy: no-referrer-when-downgrade
Provisional headers are shown
Origin: http://gps.jkdirections.com:8082
Referer: http://gps.jkdirections.com:8082/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
X-Requested-With: XMLHttpRequest

Preview, Response are empty.

Anton Tananaev7 years ago

Make sure you use latest version of Traccar.