22 Oct 2021, 09:56

I when I try to refresh-mailbox I receive a error

./bin/console uvdesk:refresh-mailbox helpdesk@mydomain.com

 1. Processing uvdesk mailbox configuration.

 2. Opening imap stream...

In RefreshMailboxCommand.php line 88:

  Warning: imap_open(): Couldn't open stream mail.mydomain.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 mail.mydomain.com: no such mailbox (errflg=2) in Unknown:0
Stack trace:
#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError()
#1 {main}
  thrown in Unknown on line 0

the login and password are correct, I have read that for Gmail we must put imap.gmail.com:993/imap/ssl but my server mail is the same of the Uvdesk why don't find the mailbox?