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']);
//
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
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
// 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;
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
(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
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
7 matches
Mail list logo