Email templates - "From" field format with name

Dmitry Bastron asked on September 1, 2017 12:11

Hi all!

I'm trying to create an email template with "From" field filled with name + email. The standard is:

"Test" <test@test.com>

But Kentico doesn't allow me to set this value and accepts only email. Is there any other solution?

Recent Answers


Joe Souch answered on September 5, 2017 12:00

I don't recommend this as it's against Kentico's advice but you could:

  1. Create a FormControl which validates for your example.
  2. Go to the database, find CMS.Class Where ClassName = 'cms.emailtemplate' and up change ClassShowAsSystemTable to false
  3. Go to the CMS.Email Module and update the Email Template class to use the new form control for the from address.

Ofc fully test after!

Joe

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.