------------------------------------------------
On Thu, 7 Aug 2003 18:58:16 +0200, "awarsd" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I don't understand what the explanation says about Header? what is basically
> a header
> 

This is why it is so important to use a module for parsing mail :-).

Essentially a mail message (or many network protocol requests) are divided into two 
parts, a header and a body. The header describes information about that particular 
request, in the case of a mail message it contains the addresses of the people the 
message are to, from, cc'd, along with other information like the date, special 
X-headers, etc. (view all headers in any mail client to see additional examples).  The 
last header field is followed by a double new line to indicate the headers are done 
and the body can start. 

Now comes the hairy part, in the body of a MIME message there can be additional 
header/body sections (which can be recursively embedded) which defines the various 
MIME parts of a message.

So MIME::Parser provides a header object such that you can access certain "fields" 
(i.e. To:) within that header.

HTH,

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to