I need each line, and it is important to know if a line continued on to the next line so I don't process it as its own line.
Thanks, Neil ----- Original Message ----- From: "Jim McAtee" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 7:15 PM Subject: Re: Parsing an Email Line By Line > Start all over. Why do you need to parse "line by line" and is it really > significant to you _if_ the line was supposed to wrap? > > Use something like the following to display the orginal messages and see > what they look like, then figure out what you're up against. Do you need to > make this parsing application work with any conceivable message format that > you might receive, including HTML formatted? > > <cfoutput><pre>"#file_content#"</pre></cfoutput> > > To be on the safe side, I think you might add a carriage return to the > delimiters list. > > <CFOUTPUT> > <CFLOOP List="#file_content#" Index="rc" Delimiters="#Chr(13)##Chr(10)#"> > #rc#<BR> > </CFLOOP> > </CFOUTPUT> > > > Jim > > > ----- Original Message ----- > From: "Neil H." <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, January 14, 2002 4:58 PM > Subject: Re: Parsing an Email Line By Line > > > > How can I know if the line is supposed to continue. As previously stated > > there *should* be an = to signify a continuation but cfmail doesn't seem > to > > catch it. There has to be a way to parse this email line by line and > > determine if the line wraps?! > > > > Thanks, > > > > Neil > > > > ----- Original Message ----- > > From: "Andrew Scott" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Monday, January 14, 2002 2:50 PM > > Subject: RE: Parsing an Email Line By Line > > > > > > > When you say truncated do you mean when you see it as an email, then > > > there is nothing you can do about this as the email client does this. > > > > > > > > > -----Original Message----- > > > From: Neil H. [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, 15 January 2002 5:02 AM > > > To: CF-Talk > > > Subject: Parsing an Email Line By Line > > > > > > I am attempting to parse an email line by line. I found this code from > > > CFVault and it seems pretty proven: > > > > > > <CFLOOP List="#file_content#" Index="rc" Delimiters="#Chr(10)#"> > > > <CFOUTPUT> > > > #rc#<BR> > > > </CFOUTPUT> > > > </CFLOOP> > > > > > > > > > However, it appears that the output is truncated to 77 characters. This > > > seems very strange but maybe someone has insight about it? > > > > > > Thanks, > > > > > > Neil > > > > > > > > > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

