Ah. It does some other stuff with the message's body, but that's besides the point. Its just a parser tag and does nothing else. Once I get a free second (yeh right!) I'll probably write some regex patterns for parsing mail headers. RFC compliant ones that'll reject malformed mail.
> Michael, > > The code sample looked pretty straight-forward, I just was wondering if > there were any other suggestions for working with the mail headers since the > CFX_ODSMime tag looked to do a lot more than that. I will try it, I was > just looking for other options. > > As far as the mail header format goes, yes I have been collecting headers > for the last several days and there is very little in common with them. > > Thanks > -- Jeff > > -----Original Message----- > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 21, 2003 2:20 PM > To: CF-Talk > Subject: Re: Parsing Mail Headers > > > The CFX_ODSMime tag takes all the headers and puts it into a query that you > can loop over. If you want, I can explain the code sample I sent you in > reference to the tag. The problem with parsing email headers is that there > is a LOT of information and the format of the information is very poor. Take > the Recieved header for example. Sometimes it has the recipients email > address, sometimes not and sometimes it's totally fubared. > Received: from houseoffusion.com ([64.118.64.245]) > by hof001.houseoffusion.com (Post.Office MTA v3.5.3 release 223 > ID# 0-54969U100L100S0V35) with ESMTP id com > for <[EMAIL PROTECTED]>; Fri, 21 Feb 2003 14:50:27 -0500 > > > > > Does anybody know of a tag or script somewhere that will parse out > > email headers? Michael Dinowitz mentioned CFX_ODSMime, but I am not > > finding much in the way of documentation for it and it looks like it > > does a lot more that just parse the header. > > > > Thanks > > -- Jeff > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4