Jeff Chastain wrote: > I am running CFMX and am specifically looking for the message ID and reply > information.
<cfscript> mID = REReplaceNoCase(headers,"^.*messageid: (<[^>]*>).*$","\1"); irt = REReplaceNoCase(headers,"^.*in-reply-to: (<[^>]*>).*$","\1"); etc. </cfscript> > I tried parsing by linebreak, which did not work and I was not > sure how accurate that would be. That won't work until the linebreak bug is fixed (the above regex's are not guaranteed to work either, it is possible to craft headers that make them fail). As soon as that bug is fixed, you can make it 100% accurate. Everything you need to know is in RFC (2)822. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4