🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved "imap_open : couldn't open stream for gmail" - getting error while set up IMAP

    Technical Help
    2
    3
    672
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rosa A Hancock last edited by

      I have installed UVdesk successfully and thanks for the brief documentation.
      but there is one issue when i tried to refresh the mailbox command I am getting this - imap_open : couldn't open stream for gmail
      I didn't find any solution in the document, can anyone help me?
      Note: I am using gmail for set up

      1 Reply Last reply Reply Quote 0
      • Sanjeev
        Sanjeev developer UVdesk Staff last edited by

        @Rosa-A-Hancock

        Please check and update below thing hope it will help.

        Enable less secure app for gmail: https://myaccount.google.com/lesssecureapps

        Please enable this also: https://accounts.google.com/b/0/DisplayUnlockCaptcha

        Also locate path on your project.

        vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php

        open file and add below line there.

        Check in screenshot to add a line of code here: https://prnt.sc/w5bc5u

        Add below code for gmail under refreshMailbox() function in start.

        $server_host = "{imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX";

        Thanks,

        1 Reply Last reply Reply Quote 1
        • R
          Rosa A Hancock last edited by

          @Sanjeev
          Thanks for your help.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post