Reply to topic
Strip out email headers?
cheryl


Joined: 17 Apr 2004
Posts: 84
Location: Newark, DE
Reply with quote
I am working on creating a perl auto responder script that pastes in your original email.
I'm having a problem stripping out the email headers. I'm currently using Regular Expressions
and am getting some, but not all. Does anyone have a complete listing of all of the email headers
that I can strip out or have a way that I can remove them? Thank you Smile
pmeserve
HostMySite Tech

Joined: 19 Mar 2004
Posts: 178
Reply with quote
This has a list of all the RFC-defined fields:
http://perl.about.com/library/weekly/aa032602a.htm

apparently any not in the RFC must start with X- to be valid, so that should make stripping them fairly straightforward
Strip out email headers?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic