[comp.mail.elm] How to recognize special reply addresses

david@wubios.wustl.edu (David J. Camp) (02/13/90)

I am looking for suggestions on how to implement an intended improvement
to elm.  The intention is that when you are replying to a note that you
authored, e.g. one in your =sent or other savecopy folder, the generated
To: address will not be yourself but rather the person to whom you
originally addressed the message.

The question is, what criterion should be used for identifying this
condition?  One possibility is that the address you would otherwise be
using matches the name of the folder from which you are extracting the
note.  Probably a better solution is to compare the From: address of the
original message to your own username.  In the case of a match the
address substitution is performed.

I am looking for alternative suggestions and votes and comments on the
above suggestions.  -David-

Bitnet:   david@wubios.wustl                ^      Mr. David J. Camp
Internet: david%wubios@wugate.wustl.edu   < * >    Box 8067, Biostatistics
uucp:     uunet!wugate!wubios!david         v      660 South Euclid
Washington University (314) 36-23635               Saint Louis, MO 63110

taylor@limbo.Intuitive.Com (Dave Taylor) (02/13/90)

Funny, but the last version I had my paws in did just what you're talking
about, David.  That was the weird hack with the "to:" as the first
three letters of the From: address, which caused Elm to realize that
it was a 'saved' message and instead extract a To: and Cc: address to
actually send the 'reply' to...  check it out...

						-- Dave Taylor
Intuitive Systems
Mountain View, California

taylor@limbo.intuitive.com    or   {uunet!}{decwrl,apple}!limbo!taylor

woof@hpfcda.HP.COM (Steve Wolf) (02/22/90)

>                                                So I would say that
> it isn't so much a basic flaw in the algorithm, Steve, as a subtle
> side effect of one of the many patches since added to the source.

Yup.  The PD version at some point took out the "From:To" format
in the outgoing savefile.  But the algorighm still looks for that.
Sorry if I implied that the basic algorithm was flawed... :-)

My fix is to check the "From " line, and if it's me reply to the
"To:" line.  Real Soon Now...
--
Steve Wolf
Hewlett-Packard				UUCP: {ihnp4|hplabs}!hpfcla!woof
Fort Collins, CO			ARPA: woof@hpfcda.HP.COM