ptonev.com

Products and Projects => php Mail Notification => Topic started by: GTScoobyDoo on September 20, 2004, 04:25:35 pm



Title: Could Not open Stream
Post by: GTScoobyDoo on September 20, 2004, 04:25:35 pm
I am getting the following error when I run my code:

Warning: Couldn't open stream {:110/pop3/notls}INBOX in /var/www/mailNotify/phpIMAPMailNotification.php on line 127
Can't check @ account.

If you have any ideas, I'd love to hear them.

Also, if I have my mail sorted into IMAP folders, will this script return the number of new messages just in the root of the mailbox, or a total of all new emails?

Thanks,

Nathan


Title: Could Not open Stream
Post by: ptonev on September 21, 2004, 06:18:06 pm
Hi, Nathan.

> Also, if I have my mail sorted into IMAP folders, will this script return
> the number of new messages just in the root of the mailbox, or a
> total of all new emails?

Yes, script return only new mail in INBOX. If you want to check and other folder you must change script.

> I am getting the following error when I run my code:
> Warning: Couldn't open stream {:110/pop3/notls}INBOX
> in /var/www/mailNotify/phpIMAPMailNotification.php on line 127 Can't check @ account.

No, I don't have none ideas, but can suggest you to try to connect with telnet into mail.youdomain.com server.

type this in command prompt:
Code:
telnet <-
open mail.blahblah.com 110 <-
USER <user_name> <-
PASS <password> <-
xxx
LIST <-
yyy
QUIT <-


<- is enter key, xxx is information that mail server print, yyy is other information that mail server print

If this test don't pass that you have some problem with mail server and you must ask you ISP/HOSTING for that is possible to connect to POP3 on mail.youdomain.com server.

That is, best regards.