Solved IMAP error + Gmail
-
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
Server: Ubuntu 22.04.3 LTS
PHP: 8.2Thank You
-
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.
-
@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? -
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
-
@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