🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.
  • Recent
  • Dark Theme
  • Login

UVdesk

  • Dark Theme
  • Login
  • Search
  • Recent

Solved IMAP error + Gmail

Technical Help
2
4
415
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.
  • D
    DHO last edited by 15 Sept 2023, 12:39

    Good morning,

    For the past several days, I have been trying to fix an error, but I am making no progress.

    Whenever I create a user or do any task that generates an email I receive a GUI error that a error occurred when sending email. And in composer, it pauses for a moment and receive this error:

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

    I am using Gmail, since it's a present option and thought would be easy 😛 It's a new gmail account, 2FA is ON and I am using an app specific password. I have quadruple checked credentials.

    Below are my config files and and captures of the error.

    parameters:
        app_locales: en|fr|it|de|da|ar|es|tr|zh|pl
        
        # Default Assets
        assets_default_agent_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-batman.png'
        assets_default_customer_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-ironman.png'
        assets_default_helpdesk_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-uvdesk.png'
    
        uvdesk_site_path.member_prefix: member
        uvdesk_site_path.knowledgebase_customer_prefix: customer
        
        # File uploads constraints
        # @TODO: Set these parameters via compilers
        max_post_size: 8388608
        max_file_uploads: 20
        upload_max_filesize: 2097152
    
    uvdesk:
        site_url: '$-vm.eastus2.cloudapp.azure.com'
        upload_manager:
            id: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost
        
        support_email:
            id: $.HelpDesk@gmail.com
            name: GlobeChek Support
            mailer_id: Gmail
        
        # Default resources
        default:
            ticket:
                type: support
                status: open
                priority: low
            templates:
                email: mail.html.twig
    
    
    swiftmailer:
        default_mailer: mailer_9497
        mailers:
            Gmail:
                transport: gmail
                username: $.HelpDesk@gmail.com
                password: $Pass
                # sender_address: ~
                # delivery_addresses: ~
                disable_delivery: false
    
    

    error1.jpg

    Screenshot from 2023-06-07 08-38-26.png

    Server: Ubuntu 22.04.3 LTS
    PHP: 8.2

    Thank You

    peopleinside 1 Reply Last reply 17 Sept 2023, 07:26 Reply Quote 0
    • D
      DHO @peopleinside last edited by 18 Sept 2023, 12:01

      @peopleinside

      I sort of figured it out. It was either

      • Removing the CAPITALS from the gmail address OR
      • Removing a MS365 config that was inactive that I could never get to work.

      IN either case, it seems to be working. Thank You.

      peopleinside 1 Reply Last reply 18 Sept 2023, 12:03 Reply Quote 0
      • peopleinside
        peopleinside EX helping member @DHO last edited by 17 Sept 2023, 07:26

        @DHO Hi, sorry for the delay in approving your post.
        When you see the error can you confirm the email is really not sent?

        I think maybe something can be not correctly configured in mail settings.
        In MailBox account email settings what did you put in the host field?

        https://docs.uvdesk.com/uvdemo/settings/mailbox.html

        💬 You can also ask help on GitHub Discussions
        🔴 I am no more active on Uvdesk
        🔴 Forum support is inactive!

        D 1 Reply Last reply 18 Sept 2023, 12:01 Reply Quote 0
        • D
          DHO @peopleinside last edited by 18 Sept 2023, 12:01

          @peopleinside

          I sort of figured it out. It was either

          • Removing the CAPITALS from the gmail address OR
          • Removing a MS365 config that was inactive that I could never get to work.

          IN either case, it seems to be working. Thank You.

          peopleinside 1 Reply Last reply 18 Sept 2023, 12:03 Reply Quote 0
          • Topic has been marked as solved  peopleinside peopleinside 18 Sept 2023, 12:02
          • peopleinside
            peopleinside EX helping member @DHO last edited by 18 Sept 2023, 12:03

            @DHO thank you for your feedback!
            I'm happy to read you was able to resolve.

            Thanks again for the update!
            Have a wonderful day and week 😳

            💬 You can also ask help on GitHub Discussions
            🔴 I am no more active on Uvdesk
            🔴 Forum support is inactive!

            1 Reply Last reply Reply Quote 0
            1 out of 4
            • First post
              1/4
              Last post