Problem with SMTP Class

From: Date: Thu, 05 Dec 2002 12:42:33 +0000
Subject: Problem with SMTP Class
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2905@lists.php.net to get a copy of this message
Hi, It seems to me that the Auth of the SMPT Class don't work. The send Method return the error: 'unable to authenticate to smtp Server' here is the code: --PHP-- $hdrs = array( 'From' => 'weihnachten@domain.com', 'Subject' => $subject ); $params['host'] = 'smtp.domain.com'; $params['auth'] = 1; $params['username'] = "username"; $params['password '] = "userpass"; $mail_object =& Mail::factory('smtp', $params); $ret = $mail_object->send('user@userdomain.de', $hdrs,$body); --/PHP-- The Auth of the SMTP Server work good, i have test it with Outlook. The Code runs on a Debian machine the Version of the SMTP class is 1.1 Any help possible? Any other Information needed to help? greets from germany Knut

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