Hi all
-- Original topic --
I know there are some smart people here ;-). I'm trying to get around the SSL of gmail. Basically the company that host my site (bluehost.com), don't support IMAP-SSL. :-(
Any idea how (without installing software on the server, it is not my server) I can go around the SSL problem?
-- end original topic
-- New topic --
I found out that my host does provide IMAP-SSL:
Configure Command './configure' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-fastcgi' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-maintainer-zts' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/opt/openssl' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mime-magic' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/opt/openssl' '--with-openssl-dir=/opt/openssl' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pgsql=/usr' '--with-pic' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
The host is running: PHP Version 5.2.9
I've made the changes to the script to use fetch:
imap_fetch_overview($this->conn, $uids, SE_NOPREFETCH+SE_UID);
to
imap_fetch_overview($this->conn, $uids, FT_UID);
When I click 'Select' behind the folders (in email setup) I now get a pop-up but it then waits. I can tell you that the email on gmail is very limited (only 10 emails) and 1 label.
Any idea?
My log file states:
Sat Jun 13 06:08:01 2009 [13141][1][DEBUG] ---------------STARTING FINDOPTIMUMS LOOP----------------
Sat Jun 13 06:08:01 2009 [13141][1][DEBUG] 1: I-E testing string: {imap.gmail.com:993/service=imap/ssl/tls/validate-cert/secure}INBOX
Sat Jun 13 06:08:01 2009 [13141][1][DEBUG] 1: I-E failed using [{imap.gmail.com:993/service=imap/ssl/tls/validate-cert/secure}INBOX] - error: Can't open mailbox {imap.gmail.com:993/service=imap/ssl/tls/validate-cert/secure}INBOX: invalid remote specification
Sat Jun 13 06:08:01 2009 [13141][1][DEBUG] 1: I-E clearing error and alert stacks.
Sat Jun 13 06:08:01 2009 [13141][1][DEBUG] 2: I-E testing string: {imap.gmail.com:993/service=imap/ssl/tls/validate-cert}INBOX
Sat Jun 13 06:08:01 2009 [13141][1][DEBUG] 2: I-E failed using [{imap.gmail.com:993/service=imap/ssl/tls/validate-cert}INBOX] - error: Can't open mailbox {imap.gmail.com:993/service=imap/ssl/tls/validate-cert}INBOX: invalid remote specification
Sat Jun 13 06:08:01 2009 [13141][1][DEBUG] 2: I-E clearing error and alert stacks.
Sat Jun 13 06:08:01 2009 [13141][1][DEBUG] 3: I-E testing string: {imap.gmail.com:993/service=imap/ssl/validate-cert/secure}INBOX


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks