:CreateArticle()


Class

     aprNNTP()

 

Syntax

     :CreateArticle( [hSession] ) -> lSuccess

 

Parameters

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

Logical indicating Success.

Returns .T. if the operation succeeds, otherwise returns .F.

If the Method fails the return value is .F.. To get further error information see :nErr and :cErr

 

Description

The :CreateArticle() method creates a new article in the current newsgroup.

 

This 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.

 

See Also

:CloseArticle(), :GetArticleByMessageID(), :GetArticleByNumber(), :GetCurrentDate(), :GetNextArticle(), :GetPreviousArticle(), :ListArticles(), :Write()