locked
How to Mail rtf text RRS feed

  • Question

  • I am running a Windows application in C#
    i have saved rtf data from richtext box in my sql 2000 table..i need to mail the data ..the data includes text formattings like color ,alignment etc..how can i sent this ..???i hav used coding s to send email like

    MailMessage mm=new MailMessage();
    mm.Body=my message;
    ....
    .... it was wrking but i need to convert the rtf data to correct formatting...can we append any parameters to mailmessage object to mail it in correct format..  


    also i hav tried to convert my rtf text to plain text using the following code
    string RText,PText
    RichTextBox rtb=new RiChTextBox();
    rtb.Rtf=RText; 
    PText=rtb.Text 

    but error "file foramt is not valid" coming in the place of rtb.Rtf ..

    Please Help me ..if possible pls reply to "EMAIL REMOVED"
    Wednesday, October 14, 2009 8:08 AM