Category: Web Development

PHP imap_open() error – INBOX: invalid remote specification (errflg=2)

INBOX: invalid remote specification (errflg=2)   Got following error when use imap_open() in PHP?  

  Check imap enabled SSL

Continue reading

How to re-compile imap.so with SSL enabled for MAMP Pro (Mac), macOS Sierra

  Steps for re-compiling imap.so   1. Download imap source

2. Find the text osx: and replace SSLINCLUDE=/usr/include/openssl to SSLINCLUDE=/usr/local/opt/openssl/include/openssl

Continue reading