Re: Certificate failure for (IMAP)

From: Date: Sun, 23 Nov 2003 20:45:13 +0000
Subject: Re: Certificate failure for (IMAP)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-170714@lists.php.net to get a copy of this message
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}", "qt@test.com", "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" <php-general@gremlins.biz> wrote in message news:200311231335.09605.php-general@gremlins.biz... > 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 > */

« previous php.general (#170714) next »