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 email@example.com

    1. Processing uvdesk mailbox configuration.

    2. Opening imap stream...

    In RefreshMailboxCommand.php line 88:

    Warning: imap_open(): Couldn't open stream mailservername.com

    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 mailservername.com: 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



  • Hello @dh0253,

    Please check this link it will surely help you.
    https://github.com/uvdesk/core-framework/issues/273

    If still you face problem please create a support ticket
    here: https://support.uvdesk.com/en/customer/create-ticket/


Log in to reply