Retrieves or sets a the message's body in HTML format. The HTML content is attached as
an alternative to BodyText text.
![]() | Type | Description | ||
| String | A String expression that indicates the HTML alternative for the BodyText property. |
Use the BodyHTML property to send your message in HTML format. If the property is empty, the email message is sent as plain text.
Here's a sample that shows you how to send an HTML message:
Dim m As Message
Set m = Runtime1.NewMessage
m.BodyHTML = "<html>Hello world</html>"
If (0 = m.Send("myaccount@usermail.com", "sss@colam.com", "HTML format", "Hello world")) Then
MsgBox "The message was successfully delivered "
End If