Re: [PHP-WIN] BARE LF in Sending Mail from PHP

2001-11-30 Thread Eric Rosebrock
// Header("Location: friend.php?op=SiteSent&fname=$fname"); > // Original commented out by adam_baum 07-07-2001 when moved to a > module. > echo " URL=modules.php?op=modload&name=$ModName&file=index\">"; > echo ""; > }

Re: [PHP-WIN] BARE LF in Sending Mail from PHP

2001-11-30 Thread R'twick Niceorgaw
op=SiteSent&fname=$fname"); // Original commented out by adam_baum 07-07-2001 when moved to a module. echo ""; echo ""; } ----- Original Message - From: "Eric Rosebrock" To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 2:11 P

Re: [PHP-WIN] BARE LF in Sending Mail from PHP

2001-11-30 Thread Eric Rosebrock
box. I have tried 6 different SMTP servers and that's obviously not the problem. My problem is I am running on a Win2k machine with Apache and php 4.06 Thanks, Eric "Ryan Marrs" <[EMAIL PROTECTED]> wrote in message EA9290E62E6CD311859200805F85164903C5B437@EXCHANGE">n

Re: [PHP-WIN] BARE LF in Sending Mail from PHP - Actually this is the one:

2001-11-30 Thread Eric Rosebrock
function SendSite($yname, $ymail, $fname, $fmail) { global $sitename, $slogan, $nukeurl, $ModName; $subject = ""._INTSITE." $sitename"; $message = ""._HELLO." $fname:\r\n"._YOURFRIEND." $yname "._OURSITE." $sitename "._INTSENT."\r\n"._FSITENAME." $sitename\n$slogan\r\n"._FSITEURL." $nu

RE: [PHP-WIN] BARE LF in Sending Mail from PHP

2001-11-30 Thread Ryan Marrs
PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] BARE LF in Sending Mail from PHP Ok, this particular script (one of many) is sending the email. If you can show me how to fix this one, I can probably recode the rest of them. I believe this is the part sending the mail: function SendStory($sid, $

Re: [PHP-WIN] BARE LF in Sending Mail from PHP

2001-11-30 Thread Eric Rosebrock
Ok, this particular script (one of many) is sending the email. If you can show me how to fix this one, I can probably recode the rest of them. I believe this is the part sending the mail: function SendStory($sid, $yname, $ymail, $fname, $fmail) { global $sitename, $nukeurl, $pntable, $ModNa

Re: [PHP-WIN] BARE LF in Sending Mail from PHP

2001-11-30 Thread R'twick Niceorgaw
What I believe, and as pointed out at http://pobox.com/~djb/docs/smtplf.html. mail servers require each line to end with a \r\n ( CARRIAGE RETURN + LINE FEED) not just \n(LINE FEED). So, try appending a "\r\n" to the end of each line ( mail headers and body) in your PHP script and see if that fi