Gets or sets a string that is the text body.
If both HtmlBody and TextBody properties are set, the text body will be sent as an alternative content to the HTML body.
This sample shows how to create a simple message with a TextBody sent as an alternative content to the HTML body.
Mail oMail = new Mail(); oMail.TextBody = "This is the text body.\r\nGood bye."; oMail.HtmlBody = "<html><body>This is the <b>HTML body</b>.<br>Good bye.</body></html>
Mail Class | MailMill Namespace | HtmlBody