OtherHeaders Property
An RFC850 compliant string consisting of extra headers (for posting articles).
Syntax
ANSI (Cross Platform) char* GetOtherHeaders();
int SetOtherHeaders(const char* lpszOtherHeaders); Unicode (Windows) LPWSTR GetOtherHeaders();
INT SetOtherHeaders(LPCWSTR lpszOtherHeaders);
@property (nonatomic,readwrite,assign,getter=otherHeaders,setter=setOtherHeaders:) NSString* otherHeaders; - (NSString*)otherHeaders; - (void)setOtherHeaders:(NSString*)newOtherHeaders;
#define PID_NNTP_OTHERHEADERS 48 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_NNTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_NNTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property contains a string of headers to be appended to the message headers created from other properties like From, Subject, etc.
The headers must be of the format "header: value" as specified in RFC 850. [Header lines should be separated by CRLF ("\r\n") .
Use this property with caution. If this property contains invalid headers, article posting might not be successful.
This property is useful for extending the functionality of the class. A good example is posting of MIME attachments.
SPECIAL CASE: if this property starts with an empty line (CRLF), then the value of this property is used instead of the normally computed article headers.
This property is not available at design time.
Data Type
String