Getting error: Warning: imap_open(): Couldn't open stream mailserver when setting up IMAP email server account

  • We're not using Google or Yahoo mail. We're getting the following error when trying to setup UVDesk Community edition. We want to see how well UVDesk can receive emails and also be able to send "forgot password" to users: the email account we use works because it is set up on other servers. We can also use Mozilla thunderbird email client to log onto the email server with the same email and password.

    The result below when I ran: php bin/console uvdesk:refresh-mailbox

    1. Processing uvdesk mailbox configuration.

    2. Opening imap stream...

    In RefreshMailboxCommand.php line 88:

    Warning: imap_open(): Couldn't open stream

    uvdesk:refresh-mailbox [-t|--timestamp TIMESTAMP] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<emails>...]

    PHP Fatal error: Uncaught ErrorException: Notice: Unknown: Can't open mailbox no such mailbox (errflg=2) in Unknown:0
    Stack trace:
    #0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError(8, 'Unknown: Can't ...', 'Unknown', 0, NULL)
    #1 {main}
    thrown in Unknown on line 0
    PHP Stack trace:
    PHP 1. {main}() /var/www/html/helpdesk/bin/console:0
    PHP 2. Symfony\Bundle\FrameworkBundle\Console\Application->run() /var/www/html/helpdesk/bin/console:42

    Any help would be appreciated. Thank you

  • UVdesk Staff admin

    Hello @dh0253,

    Please check this link it will surely help you.

    If still you face problem please create a support ticket

Log in to reply