RE: [PHP] Headers in body - what am I doing wrong???

2003-06-12 Thread -{ Rene Brehmer }-
At 22:31 11-06-2003, Jennifer Goodie wrote: // pull fields from form query $to = [EMAIL PROTECTED]; $name = $HTTP_POST_VARS['name']; $address = $HTTP_POST_VARS['address']; $listname = $HTTP_POST_VARS['listname']; $action = strtoupper($HTTP_POST_VARS['action']); //

Re: [PHP] Headers in body - what am I doing wrong???

2003-06-12 Thread -{ Rene Brehmer }-
It's not future when I send them ... my clock's within the 15 second limit my NTP sync allows... but maybe the time difference causes ezmlm to do some dancing when sending it out ?? I know listserv based lists can get confused about the time differences... but thanks anyway ;-) Rene At 22:50

RE: [PHP] Headers in body - what am I doing wrong???

2003-06-12 Thread Jeff Harris
On Jun 12, 2003, -{ Rene Brehmer }- claimed that: |You have an extra \r\n. There is one contained in the variable $from so the |line $headers .= From: .$from.\r\n; is putting \r\n\r\n which signifies |the end of the headers and the begining of the message body. | |Stupid me ... so simple, of

RE: [PHP] Headers in body - what am I doing wrong???

2003-06-11 Thread Jennifer Goodie
// pull fields from form query $to = [EMAIL PROTECTED]; $name = $HTTP_POST_VARS['name']; $address = $HTTP_POST_VARS['address']; $listname = $HTTP_POST_VARS['listname']; $action = strtoupper($HTTP_POST_VARS['action']); // build headers $from = \$name\ $address\r\n;

Re: [PHP] Headers in body - what am I doing wrong???

2003-06-11 Thread Chris Hayes
When using my yahoo account as test-target for this script, I get this in return from my Mercury server: == quote from error message == The mail server has encountered errors processing your request: * Unrecognized command Reply-to:. From: DeltaPower [EMAIL PROTECTED] Reply-to: DeltaPower

Re: [PHP] Headers in body - what am I doing wrong???

2003-06-11 Thread Chris Hayes
(darn, this one was already answered, i hate it that some people ask questions with a future time.) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Headers in body - what am I doing wrong???

2003-06-11 Thread Jennifer Goodie
PS some mailservers do not like \r\n, check the manual on mail() and see what they suggest, i think it was just \n. RFC for SMTP states that CRLF (\r\n) should be used. A lot of mail servers will accept just \n, but it is best to try and be standards compliant, you have less potential for