Okay, I have a page that takes whatever is in a multiline <TEXTAREA> and based on that my script assembles an email to my mailing list, with some headers and footers assembled around the message in the textarea box. Now, in my script I have things like:
$email_body = "";
$email_body .= "this is from the list:\n\n";
$email_body .= $messagetext; // <-- From textbox
$email_body .= "\n\n";
$email_body .= "to unsubscribe blah blah\n";
//code to mail the $email_body goes here
so, that is how i assemble the body of the email, paraphrased but pretty accurate. now, when I receive the email from my Linux POP3 server to an Outlook client, the \n's that i HARDCODED into the script come out just fine, but the carriage-returns that i enter in the textbox show up as spaces or nothing (i can't tell which)...but i've talked to other users (possibly in HTML-based email) that see the carraige-retunrs just fine...now...my suspician is that this has something to do w/ Windoze > Linux problems, in that I'm typing in IE for Windoze and my script is on a Linux box...so are the carraige-returns i'm putting into the textbox not being received by the Linux box and therefore don't show up in the email when it is sent out? anyone have ANY idea on what this is, or what I could do to pin down the bug? or, if you know the bug, how i can solve it?
thanks for the help in advance,
Justin Kohlhepp
justin@justink.net