Jump to content

Using IMAP functions with POP3


ratcateme

Recommended Posts

Hi i am trying to open a imap stream using imap_open() here is my code

<?php
$host='{localhost:110/pop3}INBOX';
$user='scott';
$pass='******';

$imap=imap_open($host,$user,$pass);
?>

but i get this error

Warning:  imap_open() [function.imap-open]: Couldn't open stream {localhost:110/pop3}INBOX in /var/www/html/mail/index.php on line 7

 

Scott.

Link to comment
https://forums.phpfreaks.com/topic/92150-using-imap-functions-with-pop3/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.