Discuss this help topic in SecureBlackbox Forum

Simple MIME: Set alternative body texts

Usually, HTML messages also provide plain text parts. Those parts are used by e-mail programs which are unable to show a HTML text. It's very easy to create a message with such alternative text parts: just use both BodyPlain and BodyHTML properties of TElSimpleMIMEMessage:

C#:


message.BodyPlain.Text = "Just a test message";
message.BodyHTML.Text = @"<html><head></head><body><cite>Just a test message</cite></body></html>";

How To articles about simple MIME message creator

Discuss this help topic in SecureBlackbox Forum