Imap function

Status
Not open for further replies.

stsights

New Member
Messages
159
Reaction score
0
Points
0
Hi. I use the imap function to connect to my mail server in my page, but somethimes works perfectly but somethimes not, i dont know if is a problem with me or the server, this is the code that I use to connect.

$mbox = imap_open ("{mail.mensajito.x10hosting.com/imap/ssl/novalidate-cert}INBOX", $mail , $password);
and this is the error that I receive somethimes.
PHP Warning: imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {mail.mensajito.x10hosting.com/imap/ssl/novalidate-cert}INBOX in /home/stsights/public_html/news/news/gmail.php on line 33

I dont know what could be generating this error, could some one help me with this.
Thanks a lot
 
Status
Not open for further replies.
Top