[MAIL] Unable to add recipient ...

From: Date: Mon, 27 Jun 2005 13:10:20 +0000
Subject: [MAIL] Unable to add recipient ...
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19778@lists.php.net to get a copy of this message
Hi everybody ! I have a problem that ... me off !! Here's my code --------------------------------------------------------------------- require_once 'Mail.php';
            $to         = "xxx@hotmail.com";
            $headers    = array(
                            'From' => "yyy@hotmail.com",
                            'Subject' => 'azerty',
                            'To' => "yyy@hotmail.com");
                            //'To' => $ROWMail[0]);
            $mail       = Mail::factory('smtp', array('host' => 'mail.xxx.net'));
            $body       = 'ejrlkhkj';
            $send       = $mail->send($to, $headers, $body);
            IF (PEAR::isError($send))
            {
                print($send->getMessage());
            }
---------------------------------------------------------------------- The PEAR error is always : "unable to add recipient [sylvaingourvil@hotmail.com]: Invalid response code received from server" I know it is from the RFC address or the connectivity of the server. The address is good but I do not know what is called connectivity of the server ? Can someone help me please ? Thanks a lot ! Sylvain Gourvil Antiquités En France French Developer ( PHP, PostGreSQL, Smarty, PEAR)

« previous php.pear.general (#19778) next »