php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13493 mail() is not supported
Submitted: 2001-10-01 12:10 UTC Modified: 2001-10-12 23:35 UTC
From: admin at vervehosting dot com Assigned:
Status: Closed Package: Mail related
PHP Version: 4.0.6 OS: Redhat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: admin at vervehosting dot com
New email:
PHP Version: OS:

 

 [2001-10-01 12:10 UTC] admin at vervehosting dot com
When trying to send mail using PHP the following error message is received:

Warning: mail() is not supported in this PHP build 

My php_cofig.h file has the following line:
#define HAVE_SENDMAIL 1

My php3.ini file has the following settings:

[mail function]
SMTP		=	localhost	;for win32 only
sendmail_from	=	me@localhost.com;for win32 only
sendmail_path	=	/usr/sbin/sendmail -t -i ;for unix only, may supply arguments as well (default is sendmail -t)

ls -l for /usr/sbin/sendmail shows:
-rwsr-xr-x    1 root     root        13758 Sep 10 11:15 sendmail* 

Phpinfo (http://admin.vervehosting.com/phpinfo.php) shows the following setting for sendmail:
sendmail_path -t -i  

Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 15:01:29 2024 UTC