HI, I am trying to send a simple notification using system.net.mail.mailmessage. I just pass the string as the message body. But problem is even though multi-line message be
Outlook will always remove line breaks, however, what can be used is the following:
In stead of using: Environment.Newline or \n\r
You should use string MyString += "this is my text" + "%0d%0A"
This %0d%0A will be recognised by outlook as the escape sequence for a new line.