Back to product page

HTMLText property


Holds HTML part of the message.

Type

String

Syntax

  • Basic
object.HTMLText [= value]
The HTMLText(object,value) syntax has these parts:
objectAn expression evaluating to an object of type XMPPMessage
valueA String value.

Remarks

A message can have HTML formatted text along with plain text. If that is the case, this property will only hold HTML part of message contents. You could paste that code 'as is' in your browser for it to show it as HTML content.

You should also here specify XHTML formatted message that should be sent out to the contact. Please make sure that you provide valid XHTML content. wodXMPP will try to rewrite it if necessary, so connection doesn't break from the server with "unformatted XML" error. However, it is possible that wodXMPP's reformat results in something you did not expect in the first place. For example, <BR> should be provided as <BR/> as tag you would most likely use.

Platforms

Windows