Problem: Warning: imap_open(): Couldn’t open stream {imap.gmail.com:993/ssl} Solution: {imap.gmail.com:993/ssl/novalidate-cert}