MessageText Property
The full text of the message to send (without headers).
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_SFILEMAILER_MESSAGETEXT 38 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SFileMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SFileMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property contains the full text of the message.
It is advisable that the text contained in this property be a collection of lines with lengths less than or equal to 80 bytes separated by CRLF ("\r\n") . The text in the message lines must contain 7-bit characters so that the message can be successfully pass through the multitude of mail systems on the Internet.
The class automatically escapes lines that start with a "." by adding another as specified in RFC 821. The message text is unescaped by the receiving agent, so the process is fully transparent.
Data Type
String