Email Notifications

Panos Skondras6 years ago

Hi,
I have downloaded last version or traccar and the ios client to do some tests.
I want to send notification via email.
I set up the traccar xml.

   <entry key='mail.smtp.host'>x.x.x.x</entry>
    <entry key='mail.smtp.port'>25</entry>
    <entry key='mail.smtp.ssl.enable'>false</entry>
    <entry key='mail.smtp.auth'>false</entry>
    <entry key='mail.smtp.from'>someone@company.gr</entry>
and the default.xml
<entry key='event.enable'>true</entry>
    <entry key='event.ignoreDuplicateAlerts'>true</entry>
    <entry key='processing.computedAttributes.enable'>true</entry>
    <entry key='processing.engineHours.enable'>true</entry>

I create the event for web,email and while i get the web notification i don't get any email.
I test the email settings by sending a test email from Accounts and the email is sent correctly to my email address.
Do i need to check anything else?
In Events screen when the notification is Web an entry appears for example Status Online etc.
Any ideas.

Anton Tananaev6 years ago

Have you enabled email notifications in the settings?

Panos Skondras6 years ago

Do you mean in Settings->Notifications->Channels Web,Email. Yes i have put Email as a channel in the event.

Panos Skondras6 years ago

I found it it is solved.

Anton Tananaev6 years ago

What was the issue?

Panos Skondras6 years ago

I noticed that if i put the email channel first the mails start coming by putting the Web notifications first and email second the emails don't come.
It is strange but thats' all i did in notifications settings.