Email - Specifying a specific email target

Sukhjinder Sall 6 years ago

Hello all

Is it possible to have email notifications sent to a specific target address? I have gmail successfully set up in my traccar server xml file however I can't see anywhere in the configuration guide on where I might have emails sent to a different email address from my own.

Is this currently possible?

Many Thanks

Anton Tananaev 6 years ago

Each user has its email address. You can change it any time.

Sukhjinder Sall 6 years ago

Hi Anton, thanks for the quick response.

Apologies, I should have clarified my existing setup

I'm only just starting out on using Traccar so I have 1 user account configured and that is just for me

So my current smtp configuration is:

mail.smtp.host = 		        smtp.gmail.com
mail.smtp.port = 		        587
mail.smtp.starttls.enable = 	true
mail.smtp.from = 		        sukhy01@gmail.com
mail.smtp.auth = 		        true
mail.smtp.username = 		sukhy01@gmail.com
mail.smtp.password = 		BLAHBLAHBLAH

So all email notifications are sent to my email address Sukhy01@gmail.com

But if I actually wanted to continue using my gmail smtp settings but send an email notification to e.g. sukhy@hotmail.com, what config change would I have to make to the above to do that please?

P.S. Just want to say thanks for Traccar. I've had it running for the last 2 days and it's absolutely brilliant for what my needs.

Anton Tananaev 6 years ago

Emails are sent to your account email address. It has nothing to do with what you have in the config.