Wednesday 06 September 2017 at 09:02

PHP Imap

By Eric Antoine Scuccimarra

If you get an error trying to connect with php_imap for Kerberos:

PHP Notice:  Unknown: Kerberos error: No credentials cache found (try running kinit) for imap.example.com (errflg=1) in Unknown on line 0

This is the solution:

Pass ['DISABLE_AUTHENTICATOR' => 'GSSAPI'] to imap_open for the last options parameter.

Labels: coding, php2


Comments

Login or Register to leave a comment..


Archives