20K Views

(English) Outlook Configuration in UVdesk Open Source Helpdesk

Updated 10 July 2023

Facebook Linkedin
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


21 comments

  • Rob Pearce
    Hi thanks very much for this . It still doesnt work for me but im closer now…
    • Himani Gupta (Moderator)
      Hello Rob Pearce,
      Thank you so much for your appreciation!! You may also get the support if you’re getting any issue while set up at support@uvdesk.com
      We’re here to guide you in each step.
      Thanks & Regards
      UVdesk Team
  • Zaheer Abbas
    Thank you for the detailed explaination. I am successfuly able to integrate my hotmail, yahoo and gmail accounts in it. But the problem is somehow I am unable to integrate my locally hosted exchange account. Below is the error I am getting during uvdesk:refresh

    php /var/www/html/uvdesk/bin/console uvdesk:refresh-mailbox zaheer.xxx@exchange.local.net

    1. Processing uvdesk mailbox configuration.

    2. Opening imap stream…

    In RefreshMailboxCommand.php line 88:

    Warning: imap_open(): Couldn’t open stream {mail.exchange.local.net:143/imap/tls}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] [–] […]

    Fatal error: Uncaught ErrorException: Notice: Unknown: Kerberos error: No Kerberos credentials available (default cache: KEYRING:persistent:0) (try running kinit) for mail01.exchange.local.net (errflg=1) in Unknown:0
    Stack trace:
    #0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError()
    #1 {main}
    thrown in Unknown on line 0

    Please help!

    • Himani Gupta (Moderator)
      Hello Zaheer Abbas,
      Thanks for notifying this issue to us.
      This is when you’ve not used New App Office 365 Password while mailbox configuration.
      We’ve updated this guide as per the current issue with resolution, would like to request you to follow the step once again and update us if still in the case.
      Thanks for using UVdesk Open Source Helpdesk.
      Keep delivering the best customer support 🙂
      Regards,
      UVdesk Team
  • satish
    how to run this CRON Job in windows machine, i am using wamp server
    • Himani Gupta (Moderator)
      Hello Satish,
      Greetings for the day!!
      how to run this CRON Job in windows machine, I am using wamp server
      >> Refer this guide to run the Cron job in windows machine – https://www.uvdesk.com/en/blog/how-to-refresh-mailbox-using-cron-job-in-uvdesk-opensource/
      Still, you have a further issue or any kind of doubt. Feel free to ask, we’re here to help you.
      Kind Respects
      UVdesk Team
  • Satrio Smith
    Thank you for the explanation. But I had a problem that I am unable to integrate my locally hosted account powered by Zimbra Mail Server. Below is the error I am getting during uvdesk:refresh-mailbox

    C:\Bitnami\wampstack-7.2.31-0\apache2\htdocs\uvdesk>php bin/console uvdesk:refresh-mailbox kinerja@pelindo1.co.id

    1. Processing uvdesk mailbox configuration.

    2. Opening imap stream…

    In RefreshMailboxCommand.php line 88:

    Warning: imap_open(): Couldn’t open stream mail.pelindo1.co.id

    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] [–] […]

    PHP Fatal error: Uncaught ErrorException: Notice: Unknown: Can’t open mailbox mail.pelindo1.co.id: 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

    Please help me!

    • Himani Gupta (Moderator)
      Hello Satrio Smith,
      Nice day to you!!
      The error shows that this email mail.pelindo1.co.id is not configured properly with mailbox. Kindly do the mailbox configuration again by following all steps mention in this blog.
      If still you will get any difficulty then reach out to us at support@uvdesk.com
      Kind Respects
      UVdesk Team
  • Wilmer
    Hello friends, a pleasure to greet you, I am making the email configuration connecting it to the 365 office to send emails and create tickets automatically and when I go to update the email in the console I get this error

    Warning: imap_open (): Couldn’t open stream outlook.office365.com

    PHP Fatal error: Uncaught ErrorException: Notice: Unknown: Can’t open mailbox outlook.office365.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
    root @ uvdesk01: / var / www / html / helpdesk-project # PHP Fatal error: Uncaught ErrorException: Notice: Unknown: Can’t open mailbox outlook.office365.com: no such mailbox (errflg = 2) in Unknown: 0

    I would appreciate if you could help me please, thanks Friends

    • Himani Gupta (Moderator)
      Hello Wilmer,
      Greetings for the day!!
      Did you set up a mailbox completely by following this user guide? and are you refreshing the same email id which has configured in Mailbox?
      Please cross-check once, else debug the same by the following step:
      Open your project directory and locate path.
      vendor->uvdesk->mailbox-component->Console->RefreshMailboxCommand.php
      OpenRefreshMailboxCommand.php and reach to the  pushMessage() function.
      Now check step by step by dumping each step while running the refresh mailbox command.
      Here you can check  $requestUrl  if it is correct or not,  and other parameter like  $curlResponse.
      If still unable to check the issue, kindly raise a ticket by email at support@uvdesk.com
      Kind Respects
      UVdesk Team
  • Michelle Dabney
    When running /var/www/uvdesk/helpdesk-project# php bin/console uvdesk:refresh-mailbox (my email address). I get the error below which is similar to another in this thread. “PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\UndefinedFunctionException: Attempted to call function “imap_open” from namespace “Webkul\UVDesk\MailboxBundle\Console”. in /var/www/uvdesk/helpdesk-project/vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php:88″ I researched a default copy of that php and line 88 is the same.
    • Himani Gupta (Moderator)
      Hello Michelle Dabney,
      Nice day to you !!
      It looks like your PHP extension IMAP is not enabled.
      Please enable it first from your php.ini file and make a try again after restarting the apache server.
      For more details, refer to this – https://stackoverflow.com/questions/9654453/fatal-error-call-to-undefined-function-imap-open-in-php

      Thanks,
      Team Uvdesk

  • Makss
    Hello !
    i’m trying to make it works with an internal Exchange 2k19 server, unfortunatly, it does not… 🙁
    I’m getting the following error :

    PHP Fatal error: Uncaught ErrorException: Notice: Unknown: Kerberos error: No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0) (try running kinit) for my.email.server.local (errflg=1) in Unknown:0

    I Saw the post about configuring an App Password in O365, but it’s not possible on Exchange on permise. Help will be really appreciated !

    Many thanks,

    • Himani Gupta (Moderator)
      Hello Makss,
      Will you please follow this Forum link – https://forums.uvdesk.com/topic/1905/exchange-server-php-fatal-error-uncaught-errorexception-notice-unknown-kerberos-error-no-kerberos-credentials-available/2 to resolve your issue.
      I hope it will help you.
      Kind Respects
      UVdesk Team
      • Makss
        Hello Himani !
        I’ll try that. As a workaroud I just asked manually for a kerberos ticked to continue testing.
        But now i’m facing a new issue, emails are detected in the mailbox, no error when trying to convert into ticket, but no ticket created… I opened a support ticket #24855 with more informations.
        I’ll keep you posted if the provided link is working for me !

        Thanks!

      • Hassan Raza
        I have configured uvdesk shared email using gmail account. It is creating ticket without issue. Unable to receive email from uvdesk. Any guide?
  • Andreas
    Hello

    On October 1, 2022, Microsoft started deactivating basic authentication for all tenants (see also here: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online /deprecation-of-basic-authentication-exchange-online). After the changeover, only OAuth authentications are possible.

    To what extent is a correspondingly simple integration into UVdesk intended here?

    Best regards

    Andreas

    • Komal Sharma (Moderator)
      Hello Andreas,

      We have already noticed this microsoft modern auth update.

      You should be able to integrate with your Outlook modern auth option and also mailboxes using the new Microsoft Apps section available on the dashboard which will walk you through the steps to integrate with Microsoft platforms.

      This feature will be added with our next release – V1.2.0

      Thank you for your time and patience!!!

  • Nikolai
    Unfortunately it does not work for me, it always comes the message that the IMAP password does not work. However, I have enabled IMAP in the settings and also that app password is set.
    • Komal Sharma (Moderator)
      Hello Nikolai,

      Can you please share a screenshots of the error and also share a configuration settings of the swiftmailer, mailbox, and email settings on our support panel.

      You can create a ticket from here:
      https://support.uvdesk.com/en/customer/create-ticket/

      Thanks and Regards,
      Uvdesk Team

  • Gerhard
    I have done all steps as per this guide and get the following error:

    Warning: imap_open(): Couldn’t open stream {outlook.office365.com:993/imap/ssl}INBOX

    0: LOGIN failed.
    1: LOGIN failed.
    2: LOGIN failed.
    3: Too many login failures

  • css.php