[Tutor] how to get a unique handle on an email?
Pijus Virketis
virketis@post.harvard.edu
Thu, 18 Jul 2002 10:35:50 +0300
<HTML><HEAD>
</HEAD>
<BODY>
<div> </div>
<FONT FACE=3D"Arial" SIZE=3D3></FONT><div><FONT FACE=3D"Arial" SIZE=3D3=
COLOR=3D"#800000">>>So, I have been</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#800000">>>wondering=
lately: what do "real" email clients use to identify=
a</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#800000">>>message? Is it=
some sort of hash made out of the header tags? Is</FONT></div>
<div> </div>
<FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"></FONT><div><FONT=
FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080">>Look at rfc822 and the pop=
rfc whose number escapes me right now.</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080">>The answers are=
there.</FONT></div>
<div> </div>
<FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"></FONT><div><FONT=
FACE=3D"Arial" SIZE=3D3>Hm ... Well, I looked at both. RFC822=
(whoever came up with this </FONT><FONT FACE=3D"Arial"=
SIZE=3D3>elegant naming scheme? :)) says that "message-id" is=
indeed a unique, machine-readable identification for an email.=
Unfortunately, it says that this tag is *optional*! I have=
myself noticed, that some messages don't have one. Nothing else=
in 822 or 1939 (POP3) jumps out at me as having the needed=
qualities. So, I guess the only option remaining is a=
combination of name, subject and date, and keeping my fingers=
crossed that important emails don't arrive too close to each=
other. ;)</FONT></div>
<div> </div>
<FONT FACE=3D"Arial" SIZE=3D3></FONT><div><FONT FACE=3D"Arial"=
SIZE=3D3>Cheers, </FONT></div>
<div> </div>
<FONT FACE=3D"Arial" SIZE=3D3></FONT><div><FONT FACE=3D"Arial"=
SIZE=3D3>Pijus </FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3><br>
</FONT><br></div>
<div><FONT FACE=3D"Arial" SIZE=3D3>-- </FONT><br></div>
<div><FONT FACE=3D"Arial" SIZE=3D3>"Anyone attempting to generate=
random numbers by deterministic means </FONT><FONT FACE=3D"Arial"=
SIZE=3D3>is, of course, living in a state of sin." -- John Von=
Neumann</FONT><br></div>
</body></html>