IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

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_SIMAP_MESSAGE 29

IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SIMAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SIMAP_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

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