Discuss this help topic in SecureBlackbox Forum
Create a message
To create a simple MIME message, use TElSimpleMIMEMessage class.
If you need the message to contain plain text part, set BodyPlain property of TElSimpleMIMEMessage class. If you need the message to contain HTML part, set BodyHTML property of TElSimpleMIMEMessage class. When you set both properties, the created message becomes a multipart/alternative message with two alternative views.
Set the other properties, which make the message, such as Subject, To_, From and, optionally, other properties. If you need to set custom headers, for which no properties exist, read the corresponding how-to article.
If you need to add attachments, read the corresponding how-to article.