RadEditor for HTML emails

5 posts, 0 answers
  1. Eliyahu Goldin
    Eliyahu Goldin avatar
    85 posts
    Member since:
    Apr 2007

    Posted 23 Mar 2014 Link to this post

    I am considering using the RadEditor for making HTML email templates.

    Is RadEditor HTML output rendered well by email clients?

    It is known that email clients don't behave as browsers do, so the same output may be rendered well in a browser and be distorted in an email client.
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 25 Mar 2014 Link to this post

    Hi Eliyahu,

    The RadEditor control generates proper XHTML code. Which can be rendered successfully in mail clients. Although you should be aware that stylization that comes from CSS files or references should be specially handled, so that the styles could be sent along with the HTML content.

    Mostly when it comes to email CSS inliner  tool is used. This tool is a simple external third-party library that transforms the CSS in the style tags to inline style attributes with the appropriate values. I suggest incorporating such tool with the RadEditor, so that you should be sure that the the custom stylization of the HTML content is correctly rendered by the email client.

    For your convenience I am attaching a sample project, in which is integrated such tool, so that you could examine it further.

    Regards,
    Ianko
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eliyahu Goldin
    Eliyahu Goldin avatar
    85 posts
    Member since:
    Apr 2007

    Posted 26 Mar 2014 in reply to Ianko Link to this post

    Thanks, Ianko, I will look into it.
  5. Jok
    Jok avatar
    4 posts
    Member since:
    May 2014

    Posted 26 Apr 2015 Link to this post

    This Source code is very helpful. How about an added functionality that sends Html to an email?
  6. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 27 Apr 2015 Link to this post

    Hi Jok,

    I am not sure how such matter is related to RadEditor. Email engines typically use HTML to render the email's body, therefore, you can use the editor to create the body of an email. However, the entire functionality to send an email should not be a part of RadEditor, but an implementation that is manually designed and created. 

    If you are rather interested in how to implement such a functionality, I would suggest checking general knowledge materials on the matter, e.g., this forum thread—http://stackoverflow.com/questions/18326738/how-to-send-email-in-asp-net-c-sharp

    Regards,
    Ianko
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017