pear.error problems..
| From: | XxXoldsaltXxX | Date: | Wed, 20 Oct 2004 21:06:45 +0000 |
| Subject: | pear.error problems.. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15008@lists.php.net to get a copy of this message | ||
im trying to make a script to get an email from a pop3 account, and
when i try to login to the pop3 server (yes after connecting), i get a
pear.error
heres the lines up to where i dump the error (i changed the pass, but
i know its correct)
include('POP3_DEBUG.php');
$pop3 =& new Net_POP3();
echo "Connecting to server";
if(!$pop3->connect("www.hl2world.com",110)){
die("<br>Failed to connect to server. You lose.");
}
echo "<br>Connected";
echo "<br>Logging in<br>";
var_dump($pop3->login("photo@hl2world.com","password",false));
heres result of the script (i have debug enabled on pop3.php)
Connecting to server S:+OK POP3 www [cppop 17.5] at [69.57.140.74]
<br>Connected<br>Logging in<br>
C: CAPA
S:+OK Capability list follows
S:TOP
S:USER
S:UIDL
S:XSENDER
S:IMPLEMENTATION cppop
S:.
object(pear_error)(8) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>php.pear.general
int(1)
["level"]=>
int(1024)
["code"]=>
int(-1)
["message"]=>
string(41) " is not a supported authentication method"
["userinfo"]=>
NULL
["backtrace"]=>
array(5) {
[0]=>
array(6) {
["file"]=>
string(21) "/usr/lib/php/PEAR.php"
["line"]=>
int(538)
["function"]=>
string(10) "pear_error"
["class"]=>
string(10) "pear_error"
["type"]=>
string(2) "->"
["args"]=>
array(5) {
[0]=>
string(41) " is not a supported authentication method"
[1]=>
int(-1)
[2]=>
int(1)
[3]=>
int(1024)
[4]=>
NULL
}
}
[1]=>
array(6) {
["file"]=>
string(33) "/usr/local/lib/php/POP3_DEBUG.php"
["line"]=>
int(189)
["function"]=>
string(10) "raiseerror"
["class"]=>
string(4) "pear"
["type"]=>
string(2) "::"
["args"]=>
array(2) {
[0]=>
string(41) " is not a supported authentication method"
[1]=>
int(-1)
}
}
[2]=>
array(6) {
["file"]=>
string(33) "/usr/local/lib/php/POP3_DEBUG.php"
["line"]=>
int(416)
["function"]=>
string(11) "_raiseerror"
["class"]=>
string(8) "net_pop3"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(41) " is not a supported authentication method"
}
}
[3]=>
array(6) {
["file"]=>
string(33) "/usr/local/lib/php/POP3_DEBUG.php"
["line"]=>
int(254)
["function"]=>
string(16) "_cmdauthenticate"
["class"]=>
string(8) "net_pop3"
["type"]=>
string(2) "->"
["args"]=>
array(3) {
[0]=>
string(18) "photo@hl2world.com"
[1]=>
string(8) "password"
[2]=>
bool(false)
}
}
[4]=>
array(6) {
["file"]=>
string(48) "/home2/hl2world/public_html/oldsalt/camphone.php"
["line"]=>
int(10)
["function"]=>
string(5) "login"
["class"]=>
string(8) "net_pop3"
["type"]=>
string(2) "->"
["args"]=>
array(3) {
[0]=>
string(18) "photo@hl2world.com"
[1]=>
string(8) "password"
[2]=>
bool(false)
}
}
}
["callback"]=>
NULL
}
C: CAPA
S:+OK Capability list follows
S:TOP
S:USER
S:UIDL
S:XSENDER
S:IMPLEMENTATION cppop
S:.
C: AUTH DIGEST-MD5
S:-ERR Command not implemented
<br>Failed to login to email account.
--
XxXoldsaltXxX (XxXoldsaltXxX@gmail.com)