PartEncoding Property
This property contains the actual content encoding type for each part.
Syntax
ANSI (Cross Platform) int GetPartEncoding(int iPartIdx);
int SetPartEncoding(int iPartIdx, int iPartEncoding); Unicode (Windows) INT GetPartEncoding(INT iPartIdx);
INT SetPartEncoding(INT iPartIdx, INT iPartEncoding);
Possible Values
PE_7BIT(0),
PE_QUOTED_PRINTABLE(1),
PE_BASE_64(2),
PE_8BIT(3),
PE_BINARY(4),
PE_UUENCODE(5)
- (int)partEncoding:(int)partIdx; - (void)setPartEncoding:(int)partIdx:(int)newPartEncoding;
Possible Values
PE_7BIT(0),
PE_QUOTED_PRINTABLE(1),
PE_BASE_64(2),
PE_8BIT(3),
PE_BINARY(4),
PE_UUENCODE(5)
#define PID_MIME_PARTENCODING 17 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); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_MIME_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
This property contains the actual content encoding type for each part. This property determines how to encode the data or how they were actually encoded in the Message as specified in the Content-Transfer-Encoding header.
Possible values for the this property are:
pe7bit (0) | 7 Bit data, no encoding. |
peQuotedPrintable (1) | Quoted-Printable encoding of (typically) text. |
peBase64 (2) | Base64 encoding of binary data. |
pe8Bit (3) | No encoding, 8 Bit characters may be contained as well. |
peBinary (4) | Binary data without any encoding. Similar to 3 (8 Bit encoding). |
peUUEncode (5) | Uuencoding of binary data. |
The PartIdx parameter specifies the index of the item in the array. The size of the array is controlled by the PartCount property.
This property is not available at design time.
Data Type
Integer