property Article.Header as String
Retrieves the article's header.

TypeDescription
String A string expression that indicates the header of the news article.
The Header property contains information such of: subject of the article, the number of the article in the group, the ip address of the sender, the name of the group where the article can be located, the number of lines in the article's body, ... and so on.  Information such of subject of the article can be found in the article's header. Use the Body property to access the body of the news article.

The following sample displays the header of the first article in the "vb.general":

Dim n As New EXNNTPLibCtl.NNTP

Private Sub Form_Load()
    Dim g As EXNNTPLibCtl.Group
    n.Connect "news.devx.com"
    Set g = n.Group("vb.general")
    Debug.Print g.Articles.Item(g.Articles.First).Header
    n.Disconnect
End Sub

The header of the article displays information like follows :

From: "Dean" <dean.thomas@exontrol.com>
Newsgroups: vb.general
References: <38c54323@news.devx.com> <38c55540$1@news.devx.com> <38c5b398$1@news.devx.com>
Subject: Re: ActiveX Question - Out of Process Server!
Date: Sat, 11 Mar 2000 19:52:01 -0500
Lines: 76
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.3825.400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400
NNTP-Posting-Host: 216.91.107.123
Message-ID: <38cae77c@news.devx.com>
X-Trace: 11 Mar 2000 16:40:28 -0800, 216.91.107.123
Path: news.devx.com!216.91.107.123
Xref: news.devx.com vb.general:36159