Bug 751

Summary: mail() is not supported in this PHP build
Product: Sisyphus Reporter: csn <chekasn>
Component: php-commonAssignee: Alexander Bokovoy <ab>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   

Description csn 2002-03-25 17:23:13 MSK
mail. php:
&lt;html&gt;&lt;title&gt; PHP4 mail() test page &lt;/title&gt;&lt;body&gt;
&lt;?php
if (mail(\&quot;<a href="mailto:root@mydomain.com\&quot" target="_new">root@mydomain.com\&quot</a>;, \&quot;My Subject\&quot;, \&quot;Line 1\\n\&quot;)) {
    echo \&quot;Mail send\&quot;;
}else { echo \&quot;Mail don\'t send\&quot;; }
?&gt;&lt;/body&gt;&lt;/html&gt;

OutPut:

Warning: mail() is not supported in this PHP build in /var/www/html/test/mail.php on line 5
Mail don\'t send

---

---
[<a href="mailto:csn@gate" target="_new">csn@gate</a> Mail]$ rpm -qa|grep -i php
php-dba-4.1.2-alt2
mod_php-4.1.2-alt2
php-common-4.1.2-alt2
php-gtk-0.5.0-alt2
asp2php-0.75.24-alt1
php-mhash-4.1.2-alt2
php-readline-4.1.2-alt2
php-sockets-4.1.2-alt2
gtkasp2php-0.75.24-alt1
php-curl-4.1.2-alt2
php-gd-4.1.2-alt2
php-manual-4.1.2-alt1
php-mysql-4.1.2-alt2
php-4.1.2-alt2
php-mnogosearch-4.1.2-alt2

Comment 1 Alexander Bokovoy 2002-03-27 19:28:08 MSK
Fixed in php 4.1.2-alt3
Comment 2 Alexander Bokovoy 2002-03-27 19:28:08 MSK
Fixed in php 4.1.2-alt3