CreateArticle Method

Creates a new article in the current newsgroup.

Syntax

object.CreateArticle

Remarks

The CreateArticle method sends the POST command to the news server. Not all servers permit clients to post articles. The client application is responsible for generating the message headers as well as the body of the message. News articles conform to the same general characteristics of an e-mail message.

The CloseArticle method must be called once the contents of the article has been written to the server.

Return Value

A value of zero is returned if the method was successful. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

GroupName Property, CloseArticle Method, OpenArticle Method, Write Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.