ID: 31676
User updated by: ysuzuki at zend dot co dot jp
Reported By: ysuzuki at zend dot co dot jp
Status: Bogus
Bug Type: Mail related
Operating System: Windows 2000
PHP Version: 4.3.10
New Comment:
We also tried the following test by using same script file such as
send_mail.php.
1) Launched 10 DOS prompt on Windows 2000 Server
2) Launched send_mail.php on each DOS prompt
such as "php.exe send_mail.php"
This result was OK. Because All sent E-mails were successful.Therefore,
This problem looks like related with PHP + Apache 2, I think.
Previous Comments:
------------------------------------------------------------------------
[2005-01-24 09:52:00] [EMAIL PROTECTED]
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
------------------------------------------------------------------------
[2005-01-24 09:31:41] ysuzuki at zend dot co dot jp
Description:
------------
When we tried to sent 10 mails at the same time by using mail
function(), Some mails were occurred SMTP 503 error such as
Actual result portion.Please see the following "Actual result".
How to reproduce:
1)Launched your Web browser
2)Access send_mail.php script
Repeat access send_mail.php by clicking reload button
on Web browser
Reproduce code:
---------------
<?php
define('MAIL_ADDER', '[EMAIL PROTECTED]');
define('MAIL_SEND_COUNT', 1);
header('Content-type: text/plain');
//Send Mail
for ($i = 0; $i <= MAIL_SEND_COUNT; $i++) {
if (mail(MAIL_ADDER, "TEST MAIL $i", 'This is test Mail')) {
echo "OK\n";
} else {
echo "BAT\n";
}
}
?>
Expected result:
----------------
All send requested E-mail were successful by using mail() function even
it was many requested from Web browser.
Actual result:
--------------
Error Message:
[18-Jan-2005 09:18:23] PHP Warning: mail() [<a
href='http://example.com/function.mail'>function.mail</a>]: Failed to
connect to mailserver at "smtp.example.com" port 25, verify your "SMTP"
and "smtp_port" setting in php.ini or use ini_set() in
\\exampleserver\send_mail.php line xxx
[18-Jan-2005 09:18:23] PHP Warning: mail() [<a
href='http://example.com/function.mail'>function.mail</a>]: SMTP server
response: 503 Sender already specified in \\exampleserver\send_mail.php
on line xxx
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31676&edit=1