traccar notification setup

Raj 7 years ago

Hi Team,

I have setup traccar and managed to get emails to work. Now I have added 3 phones under devices. I have only 1 user on ie the default one. I have created a geofence and created a notification. Now I need to understand
A) How to get emails sent to an external email and the same email to multiple emails.
I am unsure if I need to create users for that or not. The other thing I was worndering was if I create a Group, how can I link email addresses to get notifications send so that I just add the devices to that group.

Secondly I can run cron jobs to send in reports on a daily basis automatically?

Thanks for the support,

rajbps

Anton Tananaev 7 years ago

How to get emails sent to an external email and the same email to multiple emails.

You can have multiple users with different emails.

Secondly I can run cron jobs to send in reports on a daily basis automatically?

Sure, I don't see why not.

trackinguser445 7 years ago

well do you have a smtp server set up for your emails?

Raj 7 years ago

yes here is what worked for me just in case anyone else is having a similar issue.

<entry key='mail.smtp.host'>mymailserver.mydomain.com</entry>
<entry key='mail.smtp.port'>25</entry>
<entry key='mail.smtp.starttls.enable'>false</entry>
<entry key='mail.smtp.from'>traccar@mydomain.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>traccar@mydomain.com</entry>
<entry key='mail.smtp.password'>password</entry>

hope this helps