It looks ok the sending email is not wrapped! Works out great for me!
Neil ----- Original Message ----- From: "David Schmidt" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 8:30 PM Subject: Re: Parsing an Email Line By Line > Neil, > > Could you send me one of the emails "as-is" minus any confidential info? > I'll see what I can do with it. If so, send it off-list to > [EMAIL PROTECTED] > > Hope we can help. > > David Schmidt > ----- Original Message ----- > From: "Neil H." <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, January 14, 2002 5:14 PM > Subject: Re: Parsing an Email Line By Line > > > > The emails are not generated by me. They are received. I don't know the > > encoding. It probably comes from a perl script. I just want to get it > line > > by line as it should be read but its much harder than I ever thought! The > > message isn't HTML its plain text and I Have sent test emails with mail > > clients to only find the problem always there. It is reproducible and I > > don't know how to assume otherwise and continue the line > > > > Thanks guys, > > > > Neil > > > > ----- Original Message ----- > > From: "Jochem van Dieten" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Monday, January 14, 2002 7:55 PM > > Subject: Re: Parsing an Email Line By Line > > > > > > > Neil H. wrote: > > > > > > > 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? > > > > > > > > > What Content-Transfer-Encoding is used? If quoted-printable, read RFC > > > 1521 and you will know how to decode it. If 7bit or 8bit there is no > > > need to decode. > > > > > > Is the message in HTML? If so, forget about linebreaks. Remove them all > > > and rebuild your content from scratch. > > > > > > In any other case the linebreaks are probably put there by the sending > > > application, which probably means they are supposed to be there. The > > > big, bad exception is if a MTA put it in somewhere halfway. In that case > > > you are probably lost unless you have some other information to rebuild > > > the email. > > > > > > Jochem > > > > > > ______________________________________________________________________ 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

