ID: 14981
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Mail related
Operating System: Unix
PHP Version: 4.1.0
New Comment:

It's wrong to write this off as Bogus prematurely. It could still be the
case that PHP has a problem with passing the correct information to
sendmail. It may be that PHP needs to internally perform some kind of
replacement on email addresses containing '-' characters (etc?) with
escape characters. Perhaps when the sendmail gets the information from
PHP, the email address is in an unacceptable format. Who knows? I've
asked for diagnostics to be done on the mail server in question.


Previous Comments:
------------------------------------------------------------------------

[2002-01-11 08:00:54] [EMAIL PROTECTED]

then it's the mail server on that system that
doesn't get it, mail() on unix just puts together
a message from the paramters you gave it without
further processing and passes it transparently
to the sendmail command

please contact your ISP for further investigation

------------------------------------------------------------------------

[2002-01-11 07:08:04] [EMAIL PROTECTED]

I'm not running it, my ISP is. Anyway, excuse the error, it's on unix.

------------------------------------------------------------------------

[2002-01-11 05:51:44] [EMAIL PROTECTED]

there finaly is an Apache OS now? great ;)

no, serious, what kind of operating system
are you runnig this on, windows or *nix?

------------------------------------------------------------------------

[2002-01-10 17:59:18] [EMAIL PROTECTED]

The following example script:

 $r = "[EMAIL PROTECTED]";
 $s = "Message submitted at website";
 $m = "From: " . $name . ", email: " . $email . "\n\n" . $message;
 $h = "From: " . $email . "\r\n";
 mail ($r, $s, $m, $h);
 echo "<script language=\"javascript\">window.alert (\"Thankyou, your
message have been sent!\")</script>";

ought to send mail to the specified address, but does not. Or, at least,
mail does not arrive. It works with all email addresses we have tried
except those on this domain (ie. 'the-total-solution.com', which seems
to suggest a problem with PHP, possibly relating to the fact that the
domain contains hyphens? Emails from other sources are correctly
reaching this address and others in the domain. Escaping by using the
address "info@the\-total\-solution.com" doesn't solve the problem
either. Having raised this problem with other developers, who also
tested it, we can only conclude that the problem is in PHP.

I am not running PHP myself, my webserver is, so I can't give any
information about PHP modules / backtrace.

Andrew Staffell

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14981&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to