Removing Email notification config from xml

Lou2 months ago

Hi everyone, I removed an SMTP config from the XML file on my server but when I did that, I also I’m not able to restore the notifications drop down back to default where it shows the web command and push not notification. Is there a table that also have to modify in the sql database.

Anton Tananaev2 months ago

Not sure I understand the problem.

Lou2 months ago

hi anton

So i added a gmail to notify for events, in the config.xml, but I only have push notifications. Am i missing something?

Anton Tananaev2 months ago

What is "config.xml"? What exactly did you add there?

Lou2 months ago

/opt/traccar/conf/traccar.xml
As documentation states to insert SMTP Info

Lou2 months ago

My apologies i confused the terminology with another server that uses a config.xml for its config file

Anton Tananaev2 months ago

If you did everything as documented, then everything should be working.

Lou2 months ago

IMG_6479.jpeg

I cropped out my sensitive info, is there a syntax your code looks for(spacing between sections?)

Anton Tananaev2 months ago

OK, I'm giving up here.

Lou2 months ago

You know what, never mind. Im seriously trying to learn here and figured a community forum has a good support base, like someone else had the same issue, and maybe was a dumb error that i could find. I understand your frustration sir with my question from a developer standpoint but from someone really trying to learn and use(which by the way traccar is an amazingly well built piece of software) it is kind of off putting.

Ill just go thru everything again and see if I missed something.

Anton Tananaev2 months ago

My problem is not with the question, but with the fact that instead of providing as much information as possible upfront, you repeatedly refuse to provide details. First after a direct request to provide configuration details that you used, you completely refused and just said that you configured everything per documentation, not even referencing documentation. And after the second attempt you provided configuration with all values completely stripped. I understand you want to hide sensitive stuff like password, but what about all other information? What is the use of configuration details without actual values? It is very disrespectful attitude in my option.

Lou2 months ago

Ok I understand where youre coming from. My apologies i was not trying to be disrespectful by any front or means, i was trying to upload images and my config but for whichever reason I couldnt upload anything except that one image from my phone. I appreciate your reply, and Ill get everything that is currently setup posted.

Loua month ago

Ok so here is what I'm seeing:
xml:

xml.jpg

I set up the xml using this as my guide: https://www.traccar.org/gmail/

Loua month ago

GUI perspective:

Gui.jpg

But, a funny thing, if I select the blank area below, it populates like a option, but I only can see Push Notification. Next image Ill show.

Loua month ago

I highlighted the option inside the red box, you can see its a darker grey, signifying a selectable option.

Option but no text.jpg