Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imap with outlook no longer working => ErrorException { …}] #645

Closed
steveb85 opened this issue Feb 10, 2023 · 10 comments
Closed

imap with outlook no longer working => ErrorException { …}] #645

steveb85 opened this issue Feb 10, 2023 · 10 comments

Comments

@steveb85
Copy link

Processing uvdesk mailbox configuration.

  1. Opening imap stream...
    17:06:00 WARNING [php] Warning: imap_open(): Couldn't open stream {outlook.office365.com:993/imap/ssl}INBOX ["exception" => ErrorException { …}]

  2. IMAP stream opened.

@steveb85
Copy link
Author

i noticed my cron wasn't working (it previously had been) and when i ran the uvdesk:refresh-mailbox manually in CLI i found this issue which is super tough

@steveb85
Copy link
Author

I'm wondering if it is because outlook office 365 has depreciated basic auth? If that's the case then it renders uvdesk useless to anyone using office365 as an email server

@steveb85
Copy link
Author

i have just tested with a dummy gmail account, and it seems that it works. so the issue is outlook, if @PeopleInside or @vipin-shrivastava have any update on how to use with outlook that would be great. I've been using an app password but it's not working still. something is not correct

@steveb85
Copy link
Author

new errors

  1. Processing uvdesk mailbox configuration.

  2. Opening imap stream...

  3. IMAP stream opened.

  4. Fetching Email collection since 09 February 2023.

  5. Total fetched email -> 7

  6. Starting to convert Emails into Tickets ->
    =============================================
    =============================================

Converting email 1 out of 7.

Converting email 2 out of 7.

Converting email 3 out of 7.

Converting email 4 out of 7.

Converting email 5 out of 7.

Converting email 6 out of 7.

Error -> Attention Required! | Cloudflare

@komal-sh-27
Copy link
Contributor

komal-sh-27 commented Feb 13, 2023

Can you please share the log file of your project. Follow the below path for log file:
your-project/var/log/dev.log file

dev log-file

Please share the files on our support center from here

Also, you can try with the new version v-1.1.2 of mailbox components bundle. You can change the mailbox bundle using the below command:

$ composer require uvdesk/mailbox-component

After that again setup of mailbox and cleared the cache of project using the below command:

$ php bin/console c:c

@steveb85
Copy link
Author

thanks, i sent the log files.

I added the mailbox-component and cleared cache, no change. I'm wondering if this is a microsoft issue, looking for other ways to test that

@steveb85
Copy link
Author

thanks @Komal-sharma-2712

@steveb85
Copy link
Author

Current Print from refresh mailbox

  • Establishing connection with mailbox
  • Failed to establish connection with mailbox

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

0: Retrying PLAIN authentication after AUTHENTICATE failed.
1: Retrying PLAIN authentication after AUTHENTICATE failed.
2: Can not authenticate to IMAP server: AUTHENTICATE failed.

obviously it's about authentication. i ahve tried inboxes with basic auth, and some with a office365 app password

@steveb85
Copy link
Author

IT seems that microsoft won't support this auth in any way moving forward, we will need an oauth option ot use a microsoft IMAP connection. SMTP is possible to send emails, but this makes the UV desk somewhat redundant until this can be updated. https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth

@steveb85
Copy link
Author

work around was to forward my office 365 mail -> gmail account, and read that. it's horrible work around but surviving until uvdesk can implement better auth processes

@steveb85 steveb85 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants