24 Jan 2024, 02:16

HI,

I installed UVDesk in a docker container. I am having problems following the tutorial to setup office365

we follow the whole guide until we run this command

sudo docker exec uvdesk-uvdesk-1 php uvdesk/bin/console uvdesk:refresh-mailbox edited@email.com

I got this error:

  1. Processing uvdesk mailbox configuration.

2. Opening imap stream...

In RefreshMailboxCommand.php line 88:
                                                                               
  Warning: imap_open(): Couldn't open stream {outlook.office365.com:993/imap/  
  ssl}INBOX

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: Retrying PLAIN authentication after AUTHENTICATE failed. (errflg=1) in Unknown:0
Stack trace:
#0 [internal function]: Symfony\Component\ErrorHandler\ErrorHandler->handleError(8, 'Unknown: Retryi...', 'Unknown', 0, NULL)
#1 {main}
  thrown in Unknown on line 0
PHP Stack trace:
PHP   1. {main}() /var/www/uvdesk/bin/console:0
PHP   2. Symfony\Component\Console\Application->run($input = class Symfony\Component\Console\Input\ArgvInput { private $tokens = [0 => 'uvdesk:refresh-mailbox', 1 => 'support@accuratedosingsystems.com.au']; private $parsed = []; protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = TRUE; private $hasOptional = TRUE; private $options = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'uvdesk:refresh-mailbox', 'emails' => [...]]; protected $interactive = TRUE }, $output = uninitialized) /var/www/uvdesk/bin/console:42

when a client account is created It sends emails but I can not get the ticket emails.

I think that this parameter is wrong :

{outlook.office365.com:993/imap/ssl}INBOX

I had read in other forums that office365 is using tls and not ssl.

I appreciate any help