Hi
I can connect to pop3 server whit other methods, telnet IP_SERVER 110, with other WebMail services with my server values and I have connect from remote machine using OutLook Express with pop3 Account !!!!
i have a script and connect to mail account.
my script is right.
but i cann't use it for a all acount exist on a special mail server.
this is get this error "Couldn't open stream ".
please help me
cann't open a stream
Moderator: General Moderators
hi cactus
yes, here it is
===============
<PRE>
<?php
echo $username="My user name";
$password="My password";
$mbox = imap_open("{My mx server:110}INBOX", "$username", "$password");
if ($hdr = imap_check($mbox)) {
echo "Num Messages " . $hdr->Nmsgs;
}
else {
echo "failed";
}
?>
</pre>
=============
this script done by successfully on for a lot of different mail account.
but this is cannot connect to one special mail server.
i tested it to different mail account in this mail server but all of them cannot connect to the inbox.
please help me
thank you
yes, here it is
===============
<PRE>
<?php
echo $username="My user name";
$password="My password";
$mbox = imap_open("{My mx server:110}INBOX", "$username", "$password");
if ($hdr = imap_check($mbox)) {
echo "Num Messages " . $hdr->Nmsgs;
}
else {
echo "failed";
}
?>
</pre>
=============
this script done by successfully on for a lot of different mail account.
but this is cannot connect to one special mail server.
i tested it to different mail account in this mail server but all of them cannot connect to the inbox.
please help me
thank you