:GetArticleByMessageId()


Class

     aprNNTP()

 

Syntax

     :GetArticleByMessageId( cMsgID, [hSession] ) -> cArticle

 

Parameters

 

cMsgID

String which contains the message identifier for the article in the current newsgroup.

 

hSession

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

 

Return

String containing the Article.

If the method failes, it returns an empty string.

To get further error information see :nErr and :cErr

 

Description

The :GetArticleByMessageId() method returns the contents of the article specified by the message identifier string.

 

To see the remote server's response, see :GetResultCode() and :GetResultString().

 

See Also

:GetArticleByNumber(), :GetArticleRange(), :GetCurrentArticle(), :GetNextArticle(), :GetPreviouseArticle(), :ListArticles()