PHP Classes

Really stuck with actually connecting the the mail server

Recommend this page to a friend!

      pop3-stream  >  All threads  >  Really stuck with actually...  >  (Un) Subscribe thread alerts  
Subject:Really stuck with actually...
Summary:It doesn't work whatever (correct) settings I type
Messages:1
Author:Matt Ireland
Date:2008-04-15 18:59:17
 

 


  1. Really stuck with actually...   Reply   Report abuse  
Picture of Matt Ireland Matt Ireland - 2008-04-15 18:59:18
Hi,

I'm trying to connect to my mail account with the following settings:

$file="pop3s://mat.i.land:password@pop.gmail.com:995/";

or

$file="pop3://matt@mattireland.co.uk:password@mail.netweaver.com:110/";

where password is my password (it's not really).

Neither of these work. Is there something wrong with my syntax or the class. I can post full all of my code if you want but whatever the settings (which I'm pretty sure are correct) I just get the error

Warning: fopen(pop3s://...@pop.gmail.com:995/) [function.fopen]: failed to open stream: "pop3_stream::stream_open" call failed in C:\Program Files\EasyPHP 2.0b1\www\pop3\mytest\example1.php on line 11


Is anyone else having my problem? I'm using the current version of the script and my email does support POP3/IMAP.

Thanks very much and I'd really appreciate any help!

Thanks again,

MTI