Boundary Property

The boundary separating the MIME parts. Maximum length of 80 bytes.

Syntax

ANSI (Cross Platform)
char* GetBoundary();
int SetBoundary(const char* lpszBoundary); Unicode (Windows) LPWSTR GetBoundary();
INT SetBoundary(LPCWSTR lpszBoundary);
@property (nonatomic,readwrite,assign,getter=boundary,setter=setBoundary:) NSString* boundary;
- (NSString*)boundary;
- (void)setBoundary:(NSString*)newBoundary;
#define PID_MIME_BOUNDARY 1

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the boundary separating the MIME parts and has a maximum length of 80 bytes. The class will automatically generate a random boundary value during encoding if no value is given. During decoding this property is filled with the boundary from the actual MIME message.

The class will truncate any string longer than 80 bytes if assigned to Boundary.

Data Type

String

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