🔴 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 Problem in the Php Mailbox

General Discussion
5
21
3.4k
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.
  • J
    jotamachuca last edited by 23 Jul 2020, 23:53

    Hi

    I am configure the mailbox with this guide https://www.uvdesk.com/en/blog/setup-mailbox-uvdesk-open-source-helpdesk/

    But i have a problem when I execute the command to rescue the mails

    php bin/console uvdesk:refresh-mailbox test@test.com
    
     1. Processing uvdesk mailbox configuration.
    
     Mailbox for email test@test.com not found.
    
    [localhost@cpanel10 uvdesk]$
    

    Can you help me ?? I change the config/packages/uvdesk.yaml file.

    Thanks in advance

    1 Reply Last reply Reply Quote 0
    • admin
      admin UVdesk Staff admin last edited by admin 24 Jul 2020, 11:24 24 Jul 2020, 08:15

      @jotamachuca
      Kindly use correct mailbox email id to refresh the mailbox instead of test@test.com
      Then try to refresh once, it should work.
      Thank You!!

      1 Reply Last reply Reply Quote 0
      • about a year later
      • G
        gulzarahmad last edited by 4 Aug 2021, 13:08

        I used correct details, but the same error I'm getting yet.

        1 Reply Last reply Reply Quote 0
        • vipin
          vipin developer UVdesk Staff last edited by 5 Aug 2021, 05:24

          @jotamachuca @gulzarahmad
          First, you check the site_url ="your_server/project_name/public".

          second, Open your Mailboxservice file in your project from the given below path.
          your_project\vendor\uvdesk\mailbox-component\Services\MailboxService.php

          Now, Open the updated Mailboxservice file from here.

          Copy the updated Mailboxservice file & paste in your project mailboxService file.

          Now, run

          php bin/console uvdesk:refresh-mailbox test@test.com
          

          Hope this will resolved your issue, If you still get the same error or any issue Please let me know

          1 Reply Last reply Reply Quote 0
          • G
            gulzarahmad last edited by 6 Aug 2021, 09:57

            Still we are getting the same issue... even for Gmail as well.
            Is there anyone who can guide us to solve this issue?
            Ubuntu 18.04.
            1.0.14 Version we are Using.

            1 Reply Last reply Reply Quote 0
            • vipin
              vipin developer UVdesk Staff last edited by 6 Aug 2021, 10:33

              @gulzarahmad

              As I set up with GMail it is working fine. I also added Screenshots of adding the mailbox to run the refresh: mailbox command.

              Screenshot_55.png

              Now, on the second I updated email settings.

              Third, Run the refresh command with his outputScreenshot_56.png

              As you can see it is working fine with Gmail, also the same steps for other

              If you still get the same issue please let us know.

              1 Reply Last reply Reply Quote 0
              • G
                gulzarahmad last edited by 6 Aug 2021, 10:41

                Screenshot (112).png

                Here is the response I got.

                1 Reply Last reply Reply Quote 0
                • vipin
                  vipin developer UVdesk Staff last edited by 6 Aug 2021, 12:49

                  @gulzarahmad

                  Can you please share the screenshot of the mailbox?
                  Which you set up with this email pashajohn1998@gmail.com ?

                  1 Reply Last reply Reply Quote 0
                  • G
                    gulzarahmad last edited by 7 Aug 2021, 04:04

                    Screenshot (113).png

                    Here is teh Mailbox Configuration. and it's status is enabled.

                    1 Reply Last reply Reply Quote 0
                    • vipin
                      vipin developer UVdesk Staff last edited by 9 Aug 2021, 00:51

                      @gulzarahmad

                      I think you are a bit confused between mailboxes and swift mailers.

                      Sorry, But this is not the mailboxes list. It is a swift mailer list, Swiftmailer basically helps you to send mail.

                      I am attaching a screenshot here,

                      Screenshot_58.png

                      If you still get the same issue please let us know.

                      1 Reply Last reply Reply Quote 0
                      • G
                        gulzarahmad last edited by 12 Aug 2021, 07:20

                        Screenshot (116).png

                        Here you can see that Everything is as according as you mentioned

                        1 Reply Last reply Reply Quote 0
                        • G
                          gulzarahmad last edited by 12 Aug 2021, 07:25

                          Screenshot (117).png And this is the warning I'm getting.

                          1 Reply Last reply Reply Quote 0
                          • vipin
                            vipin developer UVdesk Staff last edited by 12 Aug 2021, 09:43

                            imap_open() warning is showing here because of two reason

                            1. you entered the wrong Gmail password during the setup mailbox.
                              to check your Gmail password which you entered during setup mailbox.
                              open uvdesk_mailbox.yaml file & check here your mailbox setup password is
                              correct or not .
                            file location  : your_project_name->config->packages->uvdesk_mailbox.yaml
                            
                            1. In your Gmail account Less secure app permission is not enabled.
                              If less secure permission is not enabled on your Gmail account please follow this link .

                            After this, you can fetch mails by hit the refresh command.

                            If you still get the same issue or any issue please let us know.

                            1 Reply Last reply Reply Quote 0
                            • L
                              leedsy90 last edited by 12 Aug 2021, 10:50

                              Hi,

                              @gulzarahmad is the engineer currently trying to assist me with getting the mailbox/swift mailer working on the VPS community install.

                              After enabling less secure apps the mailbox is now fetching correctly from Gmail, however, this is not useful as I have a company domain with associated IMAP mailboxes that still do not work.

                              The IMAP server details are correct (although the mailbox config does not allow for port configuration so I can only assume its using 993 or 143 to fetch) I have tested the credentials using the providers webmail portal and they work perfectly fine on another rainloop webmail instance using the incoming/outgoing server details.

                              There is no useful output on the failure to fetch, simply;

                              27d4f68e-057c-46b1-b508-ebcaa94583a9-image.png

                              But the mailbox does exist!

                              b8906edd-3e6e-4caf-8a1c-dd1e2eff8208-image.png

                              ad139e01-1161-4027-bd7b-2dc99cd417f9-image.png

                              uvdesk_mailbox.yaml shows the correct password, although doesn't show port number or SSL enabled for the corporate IMAP account, should this be added manually?

                              1 Reply Last reply Reply Quote 0
                              • L
                                leedsy90 last edited by 12 Aug 2021, 10:53

                                2930b498-e814-4990-86e2-03945a175ee0-image.png

                                1 Reply Last reply Reply Quote 0
                                • vipin
                                  vipin developer UVdesk Staff last edited by 12 Aug 2021, 11:33

                                  @leedsy90 @gulzarahmad
                                  I think this your host problem.
                                  Screenshot_75.png
                                  '{imap.public-internet.co.uk:993/imap/ssl}INBOX'
                                  I think this will work for you

                                  If you still getting the same issue, Please let us know.

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    leedsy90 last edited by 12 Aug 2021, 11:34

                                    Okay so I don't know whats changed, other than setting the swift mailer to use port 25 with no SSL, but now I get a different error:

                                    9f5320bd-82fc-4a5a-92dc-54ce58d4aec7-image.png

                                    Again it cannot be the password as I've logged into this mailbox in two separate webmail clients.

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      leedsy90 last edited by 12 Aug 2021, 11:40

                                      OMG! @vipin you are an absolute genius! Editing the uvdesk_mailbox.yaml and adding the '{imap.public-internet.co.uk:993/imap/ssl}INBOX' string worked!

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        leedsy90 last edited by 12 Aug 2021, 11:43

                                        2fe9f3c8-fcfe-4526-be81-6505fd54625a-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • vipin
                                          vipin developer UVdesk Staff last edited by 12 Aug 2021, 11:50

                                          @leedsy90
                                          I am happy to see that your problem is now resolved.

                                          If you get any issues, Please let us know.

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