|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3137 mail() function that do not accept "-"
Submitted: 2000-01-07 12:00 UTC Modified: 2002-10-01 11:25 UTC
From: pr0phet at wanadoo dot fr Assigned:
Status: Wont fix Package: Other
PHP Version: 3.0.12 OS: win32
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2000-01-07 12:00 UTC] pr0phet at wanadoo dot fr
// the following line doesn't work

mail("", $topic, $message);

// while the following one does...

mail("", $topic, $message);

/* I'm sure that both addresses are valid but I get a
 * Server error while trying to execute the first line.
 * I saw someone having the same pb and attributing it
 * to the "-" that is not accepted by mail() function.
 * (in PHP annoted manual / mail() function notes )
 * Is there anyway to get over this bug or not ? */


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 11:25 UTC]
We are sorry, but can not support PHP 3 related problems anymore.  Momentum is
gathering for PHP 5, and we think supporting PHP 3 will lead to a waste of
resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4 will
will continue to be supported for the forseeable future.

win32 mail support has had severe problems up to php 4.2.x,
most of which have been solved for the upcoming 4.3 release 
(and are already available in snapshot builds)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Mar 02 06:01:28 2024 UTC