laravel-imap: [ErrorException] Use of undefined constant FT_UID - assumed 'FT_UID'
Hi,
I got this error
[ErrorException] Use of undefined constant FT_UID - assumed 'FT_UID' when I add your provider and alias into config\app.php inside the arrays of providers and aliases . Your document also wrongly indicate to add the provider and alias inside config/imap.php please check the document and change to config/app.php
Thanks for your contribution to the open source world.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 3
- Comments: 18 (3 by maintainers)
I had the same issue and I resolve it by installing PHP IMAP extension : for Linux: sudo apt-get install phpX.X-imap
I solved this by installing php-imap module and uncommenting php_imap.dll in php.ini
@AndreVME you must add the
providerandaliasinconfig/app.phppage. Not in theconfig/imap.phppage.php.ini must include the IMAP extension
I had this error when my hadn’t installed php IMAP module in my xammp.