Posted by Pete on 06/18/06 17:04
I'm working on a script that generates and sends emails, and it looks like
I have to use \r\n for line breaks in the message body for correct display
in Windows email clients.
If the send fails [mail() = false], I save the message to an XML file, and
attempt a re-send later.
Is it OK to save the body with \r\n line breaks, or will this mess up
reading the file later with fgets()? How does fgets() deal with \r\n line
breaks?
TIA
Pete
[Back to original message]
|