IPWorks S/MIME 2020 PHP Edition

Questions / Feedback?

MessageHTML Property

The HTML version of the message.

Object Oriented Interface

public function getMessageHTML();
public function setMessageHTML($value);

Procedural Interface

ipworkssmime_shtmlmailer_get($res, 38 );
ipworkssmime_shtmlmailer_set($res, 38, $value );

Default Value



This property contains the HTML version of the message. The corresponding plain text version is provided in this property.

When this property is set, the class automatically computes a plaintext version of the text and puts it into MessageText. You may choose to override this default text with your own version.

Example (Setting MessageHTML)

HTMLMailerControl.MessageHTML = "<b>Hello</b>, my name is <i>Tom</i>"

Data Type


Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 PHP Edition - Version 20.0 [Build 7721]