🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.mail.headers
3 messages
3 total messages Started by Jeff Sullivan Tue, 26 Feb 1991 21:13
Mail header format?
#157
Author: Jeff Sullivan
Date: Tue, 26 Feb 1991 21:13
15 lines
918 bytes
AM I correct in deducing that *all* email header fields a re listed,
one per line, starting at the top (any continuations are
space-indeneted on following lines), and the header is terminated by a
blank line?  All lines following the blank are the body.

Yes?

jas

--
--------------------------------------------------------------------------
Jeffrey A. Sullivan		| Senior Systems Programmer
jas@venera.isi.edu		| Information Sciences Institute
jas@isi.edu                    	| University of Southern California
Re: Mail header format?
#158
Author: Barry Margolin
Date: Wed, 27 Feb 1991 03:48
14 lines
960 bytes
In article <16912@venera.isi.edu> jas@ISI.EDU (Jeff Sullivan) writes:
>AM I correct in deducing that *all* email header fields a re listed,
>one per line, starting at the top (any continuations are
>space-indeneted on following lines), and the header is terminated by a
>blank line?  All lines following the blank are the body.

You're correct if you're trying to describe RFC822 mail format.

Read the RFC for more details.
--
Barry Margolin, Thinking Machines Corp.

barmar@think.com
{uunet,harvard}!think!barmar
Re: Mail header format?
#159
Author: Clay Luther
Date: Fri, 01 Mar 1991 21:13
26 lines
1432 bytes
jas@ISI.EDU (Jeff Sullivan) writes:


>AM I correct in deducing that *all* email header fields a re listed,
>one per line, starting at the top (any continuations are
>space-indeneted on following lines), and the header is terminated by a
>blank line?  All lines following the blank are the body.

Very close.  However, a header line may span several lines legally.  For 
instance, a legal From: line is as so:

From: Killer BOB
  <kbob@tp.us>

It is legal because the line following the header entry From: begins with 
white space.  Therefore, it is not sufficient to look at just one line when
parsing the headers.

And, yes, the headers are terminated by a blank line.


-- 
Clay Luther, Postmaster          cluther@supernet.dallas.haus.com 
  Harris Adacom Corporation      cluther@enigma.dallas.haus.com
  Voice:  214/386-2356           MS 23, PO Box 809022, Dallas, Tx 75380-9022
  Fax:    214/386-2159           Your mileage may vary.  Void where prohibited.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads