Eliyahu Goldin
Top achievements
Rank 1
Eliyahu Goldin
asked on 23 Mar 2014, 09:47 PM
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.
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.
4 Answers, 1 is accepted
0
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
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.
0
Eliyahu Goldin
Top achievements
Rank 1
answered on 26 Mar 2014, 09:37 AM
Thanks, Ianko, I will look into it.
0
Jok
Top achievements
Rank 1
answered on 27 Apr 2015, 02:41 AM
This Source code is very helpful. How about an added functionality that sends Html to an email?
0
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
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.