From:             navossoc at gmail dot com
Operating system: Windows Server 2003 R2
PHP version:      5.2.11
PHP Bug Type:     Unknown/Other Function
Bug description:  Cannot send e-mails using SMTP in Mail PEAR package.

Description:
------------
Cannot send e-mails using SMTP in PEAR Mail package.

Reproduce code:
---------------
PEAR Mail Package:
http://pear.php.net/package/Mail

<?php
require_once("Mail.php");

// PEAR Mail
$smtp = Mail::factory
(
        "smtp",
        array
        (
                "localhost" => "localhost",
                "host" => "localhost",
                "auth" => false
        )
);

$headers = array
(
        "From" => "tes...@testing.com <testing>",
        "Subject" => "some subject",
        "To" => "some...@something.com",
        "Content-Type" => "text/html; charset=iso-8859-1",
        "MIME-Version" => "1.0"
);

$smtp->send($to, $headers, "message");
?>

Expected result:
----------------
Send the e-mail using the class without problems.

IIS 6 with PHP 5.2.11 no additional extensions.
STMP is provided by MailEnable 3.61

Actual result:
--------------
Don't show any error on php, between the e-mail is not send.
I can send it using mail() function without problems.

Downgrading to 5.2.10, works fine again, no code changes.

-- 
Edit bug report at http://bugs.php.net/?id=49758&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49758&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49758&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49758&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49758&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49758&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49758&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49758&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49758&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49758&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49758&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49758&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49758&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49758&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49758&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49758&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49758&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49758&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49758&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49758&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49758&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49758&r=mysqlcfg

Reply via email to