> I have some code which generates a large string to be used by the mail()
> function.  At the same point in the string each time, PHP stops processing
> "\n" correctly and instead of a newline outputs nothing, so the text
starts to
> get run together.. but it doesn't seem to happen on every "\n".  Has
anyone
> else run into this problem?  It used to work correctly but I made a few
> changes to portions of the code that were totally uninvolved, and it
started
> behaving this way.  Unfortunately, I didn't notice the problem until I'd
made
> a number of small changes to unrelated things and didn't remember what
they
> were.

To really be RFC-compliant, you should use "\r\n" instead of just "\n" --
Un*x mail-handling mostly fixes it for you, but...

My guess would be that you lost a \n somewhere or that you have \\n
somewhere...

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to