Message Property
Provides the raw message content.
Syntax
ANSI (Cross Platform) int GetMessage(char* &lpMessage, int &lenMessage);
int SetMessage(const char* lpMessage, int lenMessage); Unicode (Windows) INT GetMessage(LPSTR &lpMessage, INT &lenMessage);
INT SetMessage(LPCSTR lpMessage, INT lenMessage);
@property (nonatomic,readwrite,assign,getter=message,setter=setMessage:) NSString* message; - (NSString*)message; - (void)setMessage:(NSString*)newMessage;
@property (nonatomic,readwrite,assign,getter=messageB,setter=setMessageB:) NSData* messageB; - (NSData*)messageB; - (void)setMessageB:(NSData*)newMessage;
#define PID_IMAP_MESSAGE 24 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IMAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IMAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property is populated after calling FetchMessagePart and holds the raw message content. This can be used to access the data before any processing is done by the class.
This property is not available at design time.
Data Type
Binary String