php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
34 + 43 = ?
Subscribe to this entry?

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

mail("tmgil@club-internet.fr", $topic, $message);

// while the following one does...

mail("pr0phet@wanadoo.fr", $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 ? */

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 11:25 UTC] hholzgra@php.net
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-2022 The PHP Group
All rights reserved.
Last updated: Thu Jul 07 04:03:36 2022 UTC