MessageHTML Property
The HTML version of the message.
Syntax
ANSI (Cross Platform) char* GetMessageHTML();
int SetMessageHTML(const char* lpszMessageHTML); Unicode (Windows) LPWSTR GetMessageHTML();
INT SetMessageHTML(LPCWSTR lpszMessageHTML);
@property (nonatomic,readwrite,assign,getter=messageHTML,setter=setMessageHTML:) NSString* messageHTML; - (NSString*)messageHTML; - (void)setMessageHTML:(NSString*)newMessageHTML;
#define PID_HTMLMAILER_MESSAGEHTML 30 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_HTMLMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_HTMLMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property contains the HTML version of the message.
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)
component.MessageHTML = "<b>Hello</b>, my name is <i>Tom</i>";
Data Type
String