configuring IMAP server with PHP

3 replies
I have been trying for some time to allow the viewing of my email inbox messages into my admin panel. can you tell from the below what I am doing wrong?

this is the code is used
$MAILSERVER="{localhost:110/pop3}INBOX";
$PHP_AUTH_USER=" ";
$PHP_AUTH_PW=" ";

$link=imap_open($MAILSERVER,$PHP_AUTH_USER,$PHP_AU TH_PW);
$headers=imap_headers($link);
echo "number of email items " . count($headers);


this is the error I get when I try to connect
(Warning: imap_open() [function.imap-open]: Couldn't open stream
{localhost:110/pop3})
#configuring #imap #php #server

Trending Topics