Have you tried modifying from parameter to something like this:
Full Name <traccar@gmail.com>
Hello Anton,
I am still trying it with no success yet ( based on your pointer above). Will update here.
Thank you
Yogesh
Do you get email after you changed it? What is from address in those emails?
Hi Yogesh,
did you find out how to solve that idea?
I changed my parameter to
<entry key='mail.smtp.from'>Traccar Server <mymailaddress@mydomain.de></entry>
but then after a traccar restart my traccar webUI wouldn' come up anymore. Setting it back, everything o.k.
Anybody any idea?
Have you tried encoding angle brackets properly?
tried that:
<entry key='mail.smtp.from'>Traccar Server<mymailaddress@mydomain.de></entry>
Traccar will start but when I hit the sendmail button I´ll get an error message in the Traccar WebUI:
com.sun.mail.smtp.SMTPSendFailedException: 501 Syntax error in parameters or arguments
;
nested exception is:
com.sun.mail.smtp.SMTPSenderFailedException: 501 Syntax error in parameters or arguments
- MessageException (NotificatorMail:132 < NotificationResource:63 < ...)
Do you have an example for encoding the angle brackets? ... never did that
That's exactly what I meant.
Did anyone managed to solve this issue?
With the below configuration , I could send notification by email using the test button. but the notification mail shows email id in place of the sender's name. Please let me know what changes / addition do I make , so sender's name is displayed to the email recipient.
<entry key='mail.smtp.host'>smtp.gmail.com</entry> <entry key='mail.smtp.port'>465</entry> <entry key='mail.smtp.ssl.enable'>true</entry> <entry key='mail.smtp.from'>traccar@gmail.com</entry> <entry key='mail.smtp.auth'>true</entry> <entry key='mail.smtp.username'>traccar@gmail.com</entry> <entry key='mail.smtp.password'>password</entry>
Thanks in advance.
Yogesh.