Hi,
I just try an example here, using imap_open connect to
yahoo mail.
The code below keep on showing me the same error.
what's the problem in the below code?
Could u kindly help me..
Waiting for ur response..
Thanks in Advance.
Saurav
-------------------Code is given
below-----------------
<?$mbox = imap_open ("{pop.mail.yahoo.com:110}",
"user_mail_id", "user_password");
echo "<p><h1>Mailboxes</h1>\n";
$folders = imap_listmailbox ($mbox,
"{pop.mail.yahoo.com:110}", "*");
if ($folders == false) {
echo "Call failed<br>\n";
} else {
while (list ($key, $val) = each ($folders)) {
echo $val."<br>\n";
}
}
echo "<p><h1>Headers in INBOX</h1>\n";
$headers = imap_headers ($mbox);
if ($headers == false) {
echo "Call failed<br>\n";
} else {
while (list ($key,$val) = each ($headers)) {
echo $val."<br>\n";
}
}
imap_close($mbox);
?>
Warning: Couldn't open stream {pop.mail.yahoo.com:110}
in /usr/local/apache/htdocs/php/todo/imap_pop3.php on
line 9
Mailboxes
Warning: Unable to find stream pointer in
/usr/local/apache/htdocs/php/todo/imap_pop3.php on
line 12
Call failed
Headers in INBOX
Warning: Unable to find stream pointer in
/usr/local/apache/htdocs/php/todo/imap_pop3.php on
line 23
Call failed
Warning: Unable to find stream pointer in
/usr/local/apache/htdocs/php/todo/imap_pop3.php on
line 33
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]