0

I have a richtextbox in windows form . I want to send the data inside the richtextbox in mail body. Richtextbox.text not gives the formatting, so i used richtextbox.rtf. But it is showing rtf codes. How to convert rtf to html.

rahul kadachira
  • 33
  • 1
  • 10
  • possible duplicate of [Convert Rtf to HTML](http://stackoverflow.com/questions/439301/convert-rtf-to-html) – Rahul Jun 01 '15 at 13:30

1 Answers1

0

You can get help from Writing Your Own RTF Converter where the author have described on how to write a custom RTF parser and converter.

Also, this MSDN post will sound helpful

Convert RichTextBox text to html

Ahh!! this post looks like a duplicate of Convert Rtf to HTML

Community
  • 1
  • 1
Rahul
  • 76,197
  • 13
  • 71
  • 125
  • I got the solution from http://stackoverflow.com/questions/5265566/simple-convert-rtf-to-html But the images are converted to wmf format and not showing in browser – rahul kadachira Jun 02 '15 at 05:53