Hello Luc,

On Monday, April 15, 2002 at 12:36:41 PM you wrote in
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED] (at least in part):

L>  Just curious: what's the difference between having it as X:........
L>  and Comment:......

L>  The result is the same: add additional info to the headers. Or am i
L>  mistaken?

You are :-)

This headers seems to be necessary for software on recipients side to get
additional informations.
This software will parse the headers which are defined:

^Header-Field-Name: Content

So everything from beginning of a line 'til the colon is the name of the
header field, the rest is value.

So

Comment: X-NCC-RegID: This is a rather awkward way to insert headers!!!

Will, if headers are parsed to e.g. a hash, end up in

$HEADERS['Comment'] = "X-NCC-RegID: This is a rather awkward way to insert headers!!!"

while

X-NCC-RegID: This is a rather awkward way to insert headers!!!

would end up in

$HEADERS['X-NCC-RegID'] = "This is a rather awkward way to insert headers!!!"

If software tries to verify validity of a mail by looking for
"$HEADERS['X-NCC-RegID']" it would not succeed with first solution.

The principle is the same as for e.g. 'From:' header: TB! is looking for a
header line

^From: ...

and not for 'From:' somewhere _within_ one header line do decide whom the
mail is from :-)

HTH Pit
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.60c on Windows 2000 5.0 Build 2195 Service Pack 2)

An arm's just an arm 'till it's wrapped 'round a shoulder-Iris Dement


________________________________________________________
Current Ver: 1.60c
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]

Reply via email to