Platform SDK: Exchange 2000 Server

Newsgroups Property

[This is preliminary documentation and subject to change.]

The newsgroup recipients for the message.

[Visual Basic]
Property Newsgroups as String
[C++]
HRESULT get_Newsgroups(BSTR* pVal);
HRESULT put_Newsgroups(BSTR Val);
[IDL]
HRESULT [propget] Newsgroups([out,retval] BSTR* pVal);
HRESULT [propput] Newsgroups([in] BSTR Val);

Remarks

This property is also available as the urn:schemas:mailheader:newsgroups entry in the schema.

The string in the Newsgroups property can represent a single newsgroup or multiple newsgroups. A newsgroup name is a set of words concatenated by periods:

microsoft.public.discussion

Commas separate multiple newsgroups in the list:

alt.sample,sample.newsgroup.name,microsoft.public.chat

A newsgroup name cannot contain a comma.

Only existing newsgroups should be specified. If a newsgroup with a given name does not exist, posting to that name does not cause the newsgroup to be created.

The Newsgroups property is required on news messages. If you do not set it before calling the IMessage.Post method, an error is returned.

Responses to this message are posted to the same newsgroups unless the IMessage.FollowUpTo property is set.

The default value of Newsgroups is an empty string.

See Also

urn:schemas:mailheader:newsgroups