This is a migrated thread and some comments may be shown as answers.

Editor for SQL Database mail HTML template

1 Answer 126 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ronald
Top achievements
Rank 1
Ronald asked on 11 Feb 2013, 02:17 PM

Hi,

 

I have a Silverlight application that uses Database Mail from SQL Server.

 

I want to give the user the possibility to create a template for the e-mail body with following options:

  1. the template is saved as HTML
  2. the user should be able to enter/select placeholders that will be replaced with database fields (eg. ##CustomerName##)

Would you recommend the RichTextBox for that? Or do you perhaps know of a solution for this?

thanks
Ronald

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 12 Feb 2013, 09:03 AM
Hello Ronald,
RadRichTextBox supports 'Mail merge' feature, which may satisfy your requirements. Note that merge fields are not supported in HTML, so you may have to switch to the native XAML format, docx, or RTF for template storage. You can checkout the online demo and the corresponding help article.

Kind regards,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
Ronald
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or