Laravel Artisan & imap_open()
<p>Currently experiencing a weird bug or something I might be overseeing. (Laravel framework)</p>

<p>I have a plain HomeController where I am doing a succesful imap_open() connection. ( I can read out the complete mailbox using the browser )</p>

<p>But once I transport this function to an artisan command, it returns me:</p>

<pre><code>[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to undefined function App\Console\Commands\imap_open()
</code></pre>

<p>What am I missing or is this just plain not possible?</p>