IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

ContentType Property

The value of the content-type header of the message which was encoded/decoded.

Syntax

ANSI (Cross Platform)
char* GetContentType();
int SetContentType(const char* lpszContentType); Unicode (Windows) LPWSTR GetContentType();
INT SetContentType(LPCWSTR lpszContentType);
@property (nonatomic,readwrite,assign,getter=contentType,setter=setContentType:) NSString* contentType;
- (NSString*)contentType;
- (void)setContentType:(NSString*)newContentType;
#define PID_MIME_CONTENTTYPE 2

IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the value of the content-type header of the message which was encoded/decoded. The class filters it out from the MessageHeaders. It shows the user about the type of the parts and their relation to each other.

The content-type attributes such as filename, boundary, charset etc are held in this property.

Data Type

String

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