Newsgroups Property
A comma separated list of newsgroups in which to post the article.
Syntax
ANSI (Cross Platform) char* GetNewsgroups();
int SetNewsgroups(const char* lpszNewsgroups); Unicode (Windows) LPWSTR GetNewsgroups();
INT SetNewsgroups(LPCWSTR lpszNewsgroups);
@property (nonatomic,readwrite,assign,getter=newsgroups,setter=setNewsgroups:) NSString* newsgroups; - (NSString*)newsgroups; - (void)setNewsgroups:(NSString*)newNewsgroups;
#define PID_SNNTP_NEWSGROUPS 51 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SNNTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SNNTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
The string in this property is posted with a Newsgroups article header to the news server. It specifies the list of groups where the article is posted (comma separated).
If this property contains "" (empty string), then the value of the CurrentGroup property is used to specify the target newsgroup for the posted article.
If the resulting header is longer than MaxHeaderLength, then it is folded according to RFC 850 specifications.
This property is not available at design time.
Data Type
String