php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2065 mail() function doesn't do anything
Submitted: 1999-08-15 23:22 UTC Modified: 1999-11-11 19:03 UTC
From: admin at airliners dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 2 OS: Linux 3.0.36
Private report: No CVE-ID: None
 [1999-08-15 23:22 UTC] admin at airliners dot net
<?
mail("you@whereever.com", "Some topic", "Hello...1,2,3 testing");
?>

It doesn't send out any e-mail, no idea why. It works just great with the 3.0.* versions of php but not with 4.0 beta 1 or beta 2.

Surely this must be a well used function and such an obvious error must have been spotted long time ago...right?

Fact remains that my scripts work with php 3 but not php 4.

I have not changed the php.ini file and my setup is normal (the configuration is 
--with-mysql=/usr/local/mysql 
--with-apache=../apache_1.3.6 
--enable-track-vars 
--disable-magic-quotes 
--disable-debug
)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-26 07:09 UTC] admin at airliners dot net
And yes, I have the correct path to sendmail in the configuration file (php.ini)
 [1999-08-31 11:29 UTC] ssb at cvs dot php dot net
Works here.  Does your sendmail_path in php.ini include the
"-t" flag to sendmail?

 [1999-11-11 18:14 UTC] joey at cvs dot php dot net
If we don't see anything further on this, I will close it..
 [1999-11-11 19:03 UTC] joey at cvs dot php dot net
-t fixed problem
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 09:00:02 2026 UTC