c# - Web browser control display plain text mail -


I have a C # app, which is to display the email Email can be HTML or plain text, but in both cases I am using web browser controls. The problem is web browser control which is ignoring all escape characters of plain text and the mail appears as a line.

The work I am using is "escape \" or \ "\ r \" & lt; Br> There is no other good way to do this.

Thanks in advance.

You can & lt; Pre & gt; and & lt; / Pre & gt; (stands for "preformatted" tag) can surround the text. Check here:

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -