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" <>

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!


2 votesVote for this answer Mark as a Correct answer

Cody Ferguson answered on December 12, 2017 16:17 (last edited on March 24, 2018 12:16)

Hi Dmitry,

You can simply add the macro {%"Your name <>"%} in the "from email" field in the configuration step and this should do it.



0 votesVote for this answer Mark as a Correct answer

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