(* For some reason, received headers sometimes break into two lines, so
I have to paste them together. Continuation lines start with a space. *)
set hdrs to my searchReplace(hdrs, (return & " "), " ")
Allen,
Have you tested this thoroughly? Barry was correct when he said that headers with multiple item break with white space , not space, at the beginning of the line. Entourage itself uses a tab, but other email clients may use other white-space: space, multiple spaces, and tabs being the most common. (It's even likely that tabs may get converted into multiple spaces when the message is sent.) I think you need to get rid of all of them.
--
Paul Berkowitz
