Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2016-09-19 17:00:44

websavers
Member
Registered: 2016-09-19
Posts: 6

E-Mail Templates and replacing "From" name with the actual name

Hey there,

I've adjusted my email template for when an email is sent when operators are offline such that {name} is used as the from name, however when it comes through to my inbox it says {name} rather than the person's actual name! Shouldn't those fields be replaced like is indicated?

A well-formatted default for those fields should in fact be as follows to avoid SPF issues:

From: {name} <***.com> (where mydomain.com is the domain live helper chat is installed on)
Reply-To: {email}

Thanks for the help with this!

-Jordan

Offline

#2 2016-09-19 17:06:35

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: E-Mail Templates and replacing "From" name with the actual name

Hi,
thanks for your post.

websavers wrote:

I've adjusted my email template

What and where you have made this changes?
You can define the From name from the mail settings on LHC when you configure SMTP and from email template.
Here you cannot use {name} or {email} but just normal text.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2016-09-19 17:11:59

websavers
Member
Registered: 2016-09-19
Posts: 6

Re: E-Mail Templates and replacing "From" name with the actual name

Marco B wrote:

Hi,
thanks for your post.

websavers wrote:

I've adjusted my email template

What and where you have made this changes?
You can define the From name from the mail settings on LHC when you configure SMTP and from email template.
Here you cannot use {name} or {email} but just normal text.

I made the changes in the GUI. Well that explains why it's not replaced. Could I request that this be added as a feature? It would be great to have the {name} and {email} vars be used there. Oddly enough it appears that the {email} var works fine under Reply-To... but {name} does not.

The emails sent via this form are being sent to a support ticketing system that pulls the name from the email header. When ever ticket comes through it simply says "Live Chat" or now {name} as the customer name, which isn't overly helpful when interacting with the client, as we need to keep referencing the original message body. If Live Helper Chat could replace that variable when processing the From and Reply-To headers, it would be really helpful!

Thanks for the consideration.

-Jordan

Offline

#4 2016-09-19 17:15:31

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: E-Mail Templates and replacing "From" name with the actual name

Hi Jordan,
I AM forwarding LHC also to a Ticket (OSTicket) where you can set a filter who when email come from the LHC SMTP or department address than the reply to email should be used. So a ticket is opened with the customer email.

However if you have feature request please open a topic on the Official GitHub page.
https://github.com/LiveHelperChat/livehelperchat/issues

Enjoy your time.  hmm


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#5 2016-09-19 17:17:01

websavers
Member
Registered: 2016-09-19
Posts: 6

Re: E-Mail Templates and replacing "From" name with the actual name

Thanks Marco!

I've created the feature request here for anyone else interested.

Last edited by websavers (2016-09-19 17:23:49)

Offline

#6 2016-09-19 17:19:12

websavers
Member
Registered: 2016-09-19
Posts: 6

Re: E-Mail Templates and replacing "From" name with the actual name

I should note (for anyone else in this position) that the Reply To field seems to take {email} and replace it with the user's email address, but if you specify {name} <{email}> it will not replace {name} (I find that odd and inconsistent, no?)

Offline

#7 2016-09-21 00:32:42

websavers
Member
Registered: 2016-09-19
Posts: 6

Re: E-Mail Templates and replacing "From" name with the actual name

Pull request created on GitHub for possible solution (unless it requires additional validation).

Offline

Board footer