Formating <mail:htmldescription> in WEBDAV RRS feed

  • Question

  • User-662994921 posted


     I have this code, the newline is not working Any ideas how to make the new line work

    strHeaderInfo = "<header:to>" + strMailbox + "</header:to>";

    // Set the subject of the appointment.

    string content = "This is the first line" +System.Environment.NewLine+ "This is the second line";


    strMailInfo = "<mail:subject>Test Appointment Subject</mail:subject>"

    + "<mail:htmldescription>" + (content) + "</mail:htmldescription>";



    Friday, August 1, 2008 10:24 AM

All replies

  • User-662994921 posted

    I aso tried to have a sting like "first line \\n second line";  also did not work

    Friday, August 1, 2008 10:43 AM