Connecting to Gmail through IMAP with PHP - SSL context failed

前端 未结 10 1869
野的像风
野的像风 2020-12-13 14:37

I\'m trying to connect to Gmail through IMAP with PHP running in Apache. This is on an Ubuntu 9.04 system. I\'ve got some sort of PHP configuration issue that is keeping t

10条回答
  •  囚心锁ツ
    2020-12-13 15:11

    This has worked for me after a long effort:

    $ServerName = "{imap.gmail.com:993/imap/ssl/novalidate-cert/norsh}Inbox";
    

提交回复
热议问题