Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Is it possible to replace new line to <br/> in bizform notification email custom format? View modes: 
User avatar
Member
Member
mmacarie - 12/12/2013 9:27:16 AM
   
Is it possible to replace new line to <br/> in bizform notification email custom format?
Hello,

We have a bizform with a long text field <Message> using a Text area input control.
Is it possible to replace the new line characters inputed by the user in the notification e-mail?

Kind regards,
Mihail

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 12/13/2013 4:55:30 AM
   
RE:Is it possible to replace new line to <br/> in bizform notification email custom format?
Hi Mihail,

Thank you for your message.

Such functionality is not possible within our system. There is however a workaround. You could theretically create a global event which would fire your method whenever a new bizForm item is created and in this you could send your own e-mail and format it however you like.

You will need global handlers -> http://devnet.kentico.com/docs/devguide/index.html?event_handlers_overview.htm

Sending e-mails-> http://devnet.kentico.com/Knowledge-Base/E-mail-Engine/Sending-E-mails-using-API.aspx

Let us know for further assistance.

Kind regards,
Richard Sustek