|
Posted by qccitchy on 08/07/06 12:33
G'day,
I am so stuck I am pulling what's left of my hair out. Any gurus out
there that can help me with this would be greatly appreciated.
I am relatively new to php and am trying to connect to a pop 3 mail
server using imap_open.
I have read the manual and numerous website, tryed numerous classes,
been confused, lost my mind, gone back to basics and I am at wits end.
I have tried the basic syntax...
$mbox = imap_open ("{mail.mydomain.com:110/pop3}INBOX",
"user@mydomain.com", "password");
and regardless of rearranging where I put the port number :110 and
/pop3, using INBOX or other variants or not at all, using user or
user@domain.com, adding /notls, adding /novalidate-cert, trying just
mydomain.com instead of mail.mydomain.com, adding user= before my user
name and many others I've forgotten over the last week ...
I just can't get it to work, with the constant error ....
Warning: imap_open() [function.imap-open]: Couldn't open stream
{mail.mydomain.com:110/pop3}
Now, I have tried telnet'ing to my mail.myserver.com and it works fine.
I can RETR messages etc. The port is definately 110, the username is
definately user@mydomain.com.
I am running php 5.1 build 2600 off a windows xp machine trying to
connect to what I believe is windows server. I've checked the email
account with mail programs and it works fine. I just can't connect in
php.
If anyone has any suggestions on how I can work out what is going on
with this thing it would be muchly appreciated.
Navigation:
[Reply to this message]
|