EMAIL No Longer working after upgrade

Luke williams 8 years ago

Anton do I need to add

testNotification: function () {
         Ext.Ajax.request({
-            url: 'api/users/notifications/test',
+            url: 'api/notifications/test',
             method: 'POST',
             failure: function (response) {
                 Traccar.app.showError(response);

to my traccar.xml? or where does it go?

Does it just FIX the test email or does it fix all so emails work again?

Anton Tananaev 8 years ago

It only fixes test button. Emails should work just fine.

Luke williams 8 years ago

Dont think my emails are working, Will have a go at adding the text to the file, see if fixes the Test button

Thank you

Luke williams 8 years ago

ANTON can you please just confirm before I goto bed

Do I need add the email settings in just the traccar.xml or do i have to add to both the traccar.xml as well as the attributes?

if i add to the attributes are the email settings not needed in the traccar.xml

will the conflict if in both?

as i can confirm my emails not working

Anton Tananaev 8 years ago

I would recommend only XML file. There are some known issues with email attributes. Don't use them!

Luke williams 8 years ago

I removed the attributes and have left the config for the email and sms in the XML file, restarted traccar and still no emails

have i perhaps screwed traccar or confused it with the known issues in the attributes ?

i installed 3.14 used same settings and all works ok

SMS appears to work fine with notifications

does notifications for EMAIL have to be enabled in 3.15?

Anton Tananaev 8 years ago

Just remove any email related attributes from your user. Email notification have to be enabled like any other notifications.

Luke williams 8 years ago

Still not working Anton

Will do a fresh install of traccar tomorrow and start again

Luke williams 8 years ago

Anton removed 3.15

reinstalled 3.14 to see if emails works as they did before the upgrade?

NO i have this message in the logs

2018-01-08 15:55:18  INFO: SMPP session connected

2018-01-08 15:58:52  WARN: 535 Authentication Failed
 - AuthenticationFailedException (... < NotificationMail:117 < *:131 < ...)

everything is as it was before the install

backup data

backup traccar.xml with the SMS and EMAIL settings

restarted traccar

when i press the test button i get an error

when i test email alerts for notification i get the above message

what seemed like a simple task, as stopped mu emails

can you help please

Anton Tananaev 8 years ago

I think the error message is pretty self-explanatory. The problem is with authentication, which probably means that password and login are incorrect.

Luke williams 8 years ago

Not at all
was just wanted to get the emails working again

as soon as possible

i’m apologise if you think i was spamming