Email display name

Luke4 years ago

Hello,

First thanks for the awesome application! I'm just configuring the email notification part of traccar and I'm attempting to set up the display name of what the emails are sent from.

I've seen the following threads
https://www.traccar.org/forums/topic/smtp-settings-to-display-name-of-sender-instead-of-email/
https://www.traccar.org/forums/topic/smtp-display-name/

and have formatted the from line as below

<entry key='mail.smtp.from'>Lorems Traccar &lt;mytraccaremail@gmail.com&gt;</entry>

but still receive the following error when using the Test notification button

555 5.5.2 Syntax error. j4sm7210961wrp.51 - gsmtp
 - SMTPSendFailedException (... < MailManager:143 < *:92 < NotificatorMail:34 < NotificationResource:63 < ...)

Whenever I just the email address in this field the email sends, I am using Traccar 4.8, any advice appreciated

Thank you

Anton Tananaev4 years ago

You can only use email address in the "from" field.

Luke4 years ago

Was this functionality removed? As the advice you gave in the below thread worked for this person

https://www.traccar.org/forums/topic/smtp-display-name/

Anton Tananaev4 years ago

Actually it looks like it should work:

https://docs.oracle.com/javaee/6/api/javax/mail/internet/InternetAddress.html

I guess your issue is with something else.

spoortrack3 years ago

I know it's been 2 years, but did you get it to work Luke? I'm having the same issue.

Marco2 years ago

same request, no way to get it working (installed on RasPI). thanks!

Anton Tananaev2 years ago

For feature requests you should use GitHub.

Marco2 years ago

thanks, i'll post ASAP. many thanks!

Anton Tananaev2 years ago

We've added support for this:

https://github.com/traccar/traccar/issues/4887