Dear Jason,

I try your advise which is imap open sample like follows and I get;

Warning: imap_open(): Couldn't open stream {mail.smsavantaj.com:110/pop3



$mbox = imap_open ("{mail.test.com:110}", "[EMAIL PROTECTED]", "1234");

echo "<p><h1>Mailboxes</h1>\n";
$folders = imap_listmailbox ($mbox, "{mail.smsavantaj.com:110}", "*");

if ($folders == false) {
    echo "Call failed<br>\n";
} else {
    while (list ($key, $val) = each ($folders)) {
        echo $val."<br>\n";
    }
}

echo "<p><h1>Headers in INBOX</h1>\n";
$headers = imap_headers ($mbox);

if ($headers == false) {
    echo "Call failed<br>\n";
} else {
    while (list ($key,$val) = each ($headers)) {
        echo $val."<br>\n";
    }
}

imap_close($mbox);


"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sunday 23 November 2003 18:49, QT wrote:
>
> > I try to connect to email inbox via IMAP but I am getting folowing
error:
> >
> > Certificate failure for  xxxxxx self signed certificate:
> > /C=--/ST=SomeState/L=SomeCity
>
> What code are you using? And have you studied the examples for
imap_open()?
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> 17. ...and if we just swap these two disc controllers like _this_...
>
> --Top 100 things you don't want the sysadmin to say
> */

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to