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
Try using the verbatim operator "@" before your message:
@
message.Body = @" line1 line 2 line 3 "
Consider that also the distance of the text from the left margin affects on the real sistance from the email body left margin..