GithubHelp home page GithubHelp logo

Comments (14)

paulchill avatar paulchill commented on August 15, 2024 7

enable the imap dll in the php.ini

from laravel-imap.

Arcave avatar Arcave commented on August 15, 2024 4

Caused by a requirement for the php-imap module. Once enabled this constant becomes available and removes this error.

from laravel-imap.

robertscholts avatar robertscholts commented on August 15, 2024

After some more research it looks to come from the following line:
src/config/imap.php:83

change that line to 'fetch'=> 'PT_UID' returns in the next error:

Call to undefined function Webklex\IMAP\imap_open()

from laravel-imap.

Webklex avatar Webklex commented on August 15, 2024

Hi Robert,
I assume you tried the example code?

If not, please provide some code, so I can take a look at it :)

Best regards,
Malte

from laravel-imap.

robertscholts avatar robertscholts commented on August 15, 2024

Hi,

I'm not running any code yet. :) all i did was a fresh installation and add the service provider and the alias.

Kind regards,

Robert

from laravel-imap.

robertscholts avatar robertscholts commented on August 15, 2024

The laravel version im using is: Laravel Framework 5.4.33

So i added your package to the json file.
run composer install
added the service provider
added the alias

those are the steps i followed

from laravel-imap.

Webklex avatar Webklex commented on August 15, 2024

Ah I see, well please do me a favor and create a little php file (e.g. imap_test.php) and place the following inside:
<?php $mbox = imap_open("{imap.example.org:143}", "username", "password");

If you get a similar error, I wont be able to fix it. If it works, I will take a closer look at it and try to release an update as soon as possible.

from laravel-imap.

robertscholts avatar robertscholts commented on August 15, 2024

Ill have a look once im back again!

from laravel-imap.

robertscholts avatar robertscholts commented on August 15, 2024

That just gives me a blank page :)

from laravel-imap.

robertscholts avatar robertscholts commented on August 15, 2024

2 hours later and a once again a new installation and now it works. :)

from laravel-imap.

guillenotfound avatar guillenotfound commented on August 15, 2024

Can you explain how to do it? Facing same issue.

from laravel-imap.

Webklex avatar Webklex commented on August 15, 2024

Hi @ZiFFeL1992 ,
could you provide some more details? Have you tried to reinstall the package? Are you running on the latest version? Is this snipped failing: <?php $mbox = imap_open("{imap.example.org:143}", "username", "password");? Which Laravel version are you working with?

Best regards

from laravel-imap.

guillenotfound avatar guillenotfound commented on August 15, 2024

After reinstalling one more time seems to work, sorry... And thanks!

from laravel-imap.

aminefilali1 avatar aminefilali1 commented on August 15, 2024

I had the same issue and I resolve it by installing PHP IMAP extension :
for Linux: sudo apt-get install phpX.X-imap

from laravel-imap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.