Editor for SQL Database mail HTML template

2 posts, 0 answers
  1. Ronald
    Ronald avatar
    11 posts
    Member since:
    Sep 2011

    Posted 11 Feb 2013 Link to this post

    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

  2. Boby
    Admin
    Boby avatar
    595 posts

    Posted 12 Feb 2013 Link to this post

    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.

  3. DevCraft banner
Back to Top