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
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 !
Your email address:
MUST BE VALID
Solve the problem:
34 + 48 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC