# Fetch email error

**URL:** <https://forum.mautic.org/t/fetch-email-error/20600>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [August 26, 2021, 9:43am UTC](https://forum.mautic.org/t/fetch-email-error/20600 "2021-08-26T09:43:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yukzanaly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yukzanaly/32/1769_2.png) [@yukzanaly](https://forum.mautic.org/u/yukzanaly)\
**Post date:** [August 26, 2021, 9:43am UTC](https://forum.mautic.org/t/fetch-email-error/20600/1 "2021-08-26T09:43:48Z")

</div>

**Your software**  
My Mautic version is: 3.3.3  
My PHP version is: 7.3  
My Database type and version is:

**Your problem**  
My problem is: fetch email using cli error. but on mautic configuration shows success!

might be important  
the muatic is on vps. and I want to fetch email from cpanel

 ![fetch error](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/f5f5314694bd2ee23693a4e28639ef8127adbd6b.png)

These errors are showing in the log:

[2021-08-26 09:38:19] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined function Mautic\EmailBundle\MonitoredEmail\imap\_search() (uncaught exception) at /home/page/public\_html/app/bundles/EmailBundle/MonitoredEmail/Mailbox.php line 558 while running console command `mautic:email:fetch`    
[2021-08-26 09:38:19] mautic.WARNING: Command `mautic:email:fetch` exited with status code 1

Steps I have tried to fix the problem: change email multiple time
