MessageText Property

The plain text version of the message.

Syntax

ANSI (Cross Platform)
char* GetMessageText();
int SetMessageText(const char* lpszMessageText); Unicode (Windows) LPWSTR GetMessageText();
INT SetMessageText(LPCWSTR lpszMessageText);
@property (nonatomic,readwrite,assign,getter=messageText,setter=setMessageText:) NSString* messageText;
- (NSString*)messageText;
- (void)setMessageText:(NSString*)newMessageText;
#define PID_HTMLMAILER_MESSAGETEXT 37

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 is a plain text version of the HTML message. This is necessary for recipients with legacy mail readers that do not support HTML.

The MessageHTML property contains the HTML version of the message. When MessageHTML is set, the class automatically computes a plain text version of the text and puts it into this property. You may choose to override this default text with your own version.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]