CreateArticle Method  
 

Creates a new article in the current newsgroup.

Syntax

object.CreateArticle

Parameters

None.

Return Value

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

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 email message.

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

See Also

GroupName Property, CloseArticle Method, OpenArticle Method, Write Method