Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4625316
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:15:17+00:00 2026-05-22T03:15:17+00:00

This is quite a noob question, so please bear with me. I am creating

  • 0

This is quite a noob question, so please bear with me.

I am creating a software which allows email to be sent.

The sending part works flawlessly.

The problem is that the body of the email is saved in a mssql database in rtf format. When I retrieve the rtf (stored in a string), the email is sent as plain text, with the rtf code considered as text.

I need to convert the rtf text to html and I am trying to use this library: http://www.codeproject.com/KB/recipes/RtfConverter.aspx

Thing is I have no clue on how to use it. When I extract the library there are hundreds of files. I managed to add as reference rtf.interpreter, rtf.parser, rtf.converter.html through dlls found in the biin/release folder. But now I dont know the next step.

How can I use this in my project to convert the rtf string to html?

Can anyone guide me through this? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:15:17+00:00Added an answer on May 22, 2026 at 3:15 am

    Here a minimal sample:

      // ----------------------------------------------------------------------
      private static string ConvertRtfToHtml()
      {
        const string sampleRtfText = @"{\rtf1foobar}";
    
        IRtfDocument rtfDocument = RtfInterpreterTool.BuildDoc( sampleRtfText );
    
        RtfHtmlConvertSettings settings = new RtfHtmlConvertSettings();
        settings.ConvertScope = RtfHtmlConvertScope.Content;
    
        RtfHtmlConverter htmlConverter = new RtfHtmlConverter( rtfDocument, settings );
        return htmlConverter.Convert();
      } // ConvertRtfToHtml
    

    Check out also the included samples RtfWinForms (winForms) or RtfWindows (WPF).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry if this is a noob question, I searched quite a bit and couldn't
I know I'm not asking this quite right, either. Please help me better form
This is really noob question. There is set of vim commands : command1 :
Pardon me if this is a noob question, I'm overextending myself a bit with
Hey guys, This could be a noob question, but I really can't find any
I am intentionally leaving this quite vague at first. I'm looking for discussion and
I run into this quite often where a new page is supposedly tested and
I've seen this quite a few times while using Office Interop classes this.CustomXMLParts.Add(MyResources.Data, new
This is quite a controversial topic, and before you say no, is it really,
I have faced this problem quite often during the last couple of months, during

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.