From:             anonymus at webmaster-hub dot com
Operating system: Linux 2.4.26-grsec 
PHP version:      4.3.7
PHP Bug Type:     Mail related
Bug description:  mail("[EMAIL PROTECTED]","test","test") dont work.. 

Description:
------------
Sorry, i don't understand english... :(

Hôte :  ns30992.ovh.net (213.186.57.191)
Système d'exploitation : Linux 2.4.26-grsec          
Serveur HTTP :  Apache/1.3.31 (Unix) mod_gzip/1.3.19.1a PHP/4.3.7
mod_ssl/2.8.18 OpenSSL/0.9.6m
Version PHP :   4.3.7 (Zend : 1.3.0)


function mail() return true, but dont send mail when there is - - in the
$to parameter.

I'm using the Open Source "Os Commerce".

The mail function is ok with the same 'open source', but with this
parameters :

Server Host: web30.60gp.ha.ovh.net (10.0.15.130)
Server OS: Linux 2.4.27-mutu-piv
HTTP Server: Apache
PHP Version: 4.3.8 (Zend: 1.3.0)


Reproduce code:
---------------
<?
if (mail("[EMAIL PROTECTED]", "test2","test2"))echo"OK 1der";
if (mail("[EMAIL PROTECTED]", "test2","test2"))echo"<br>OK 2der";

?>

Output :
OK 1
OK 2

In Outlook :
OK 1 only.


Expected result:
----------------
The first mail("[EMAIL PROTECTED] 
return TRUE,
The second mail("[EMAIL PROTECTED]
return TRUE.

But

I receive the first, not the second. 
Whith the second server (Server Host:web30.60gp.ha.ovh.net (10.0.15.130))
i receive the first and the second mail.

That's all ;)

Thanks to say me if it's a real bug or not.
[EMAIL PROTECTED] +> Nicolas GALLE. (french).


-- 
Edit bug report at http://bugs.php.net/?id=30227&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30227&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30227&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30227&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30227&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30227&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30227&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30227&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30227&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30227&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30227&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30227&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30227&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30227&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30227&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30227&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30227&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30227&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30227&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30227&r=mysqlcfg

Reply via email to