Announcement

Collapse
No announcement yet.

I can't get inbound emails

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Mr Yuri,

    I have created a new gmail account for testing purpose with the name testespocrm@gmail.com
    I have configured it in the espocrm instance. Please check.

    Comment


    • #17
      BTW I could not get own test gmail account to work (even select folder).

      Comment


      • #18
        That's strange because it is working for me and has always worked for me. Have you checked the new email which I have setup? I can easily connect the select folder.

        Comment


        • #19
          Mr Yuri,

          You were right about some problem with server. I have got it to work.
          The problem was with php.

          I had downloaded wamp stack from bitnami and installed espocrm on it. However, while running the cron job, I used a separate installation of php instead of the one in wampstack. I think it caused it not to work. When you indicated that the problem might be with server I realized using separate installation of php might be causing the problem. When I changed the cron job to run with php of wampstack it worked.

          Thanks for your time and concern.

          Regards
          Satish

          Comment


          • #20
            Dear Mr Yuri,

            Now when the email is working I am facing another situation. When I run the cron job it only fetches a few number of emails instead of pulling all emails. Every time I run the cron job it pulls some more mails. Is this behaviour intentional or am I missing something??

            Regards

            Comment


            • #21
              Hi

              It fetches by portions (20 emails).

              application/Espo/Modules/Crm/Services/InboundEmail.php

              There is const PORTION_LIMIT = 20;


              You can change it.

              Comment


              • #22
                Thanks but another problem has hit me.
                Is there also a limit to the number of times I can run a cron job??
                Because after it fetched around 120 mails from my inbox it has stopped running. Now when I run the cron job nothing is happening. I am not even getting success in the scheduled jobs log.
                I have deleted the job and created new one. But nothing.

                Regards

                Comment


                • #23
                  Cron can be run maximun 1 time per minute.

                  Comment


                  • #24
                    I don't know what's happening but it decided to not run anything.
                    And then suddenly it started again.
                    Also now I am not getting any update in the scheduled job log. It is blank but the mails have been fetched.

                    Comment


                    • #25
                      Also, ain't the emails supposed to automatically attached to accounts if the email ids already exists in the account? Or do I have to manually assign mails to the accounts.??

                      Comment


                      • #26
                        They get attached to Contact or Lead through email address. Now there is no logic to attach them automatically to Account. It's bit complicated since one Contact can be an employee in multiple Accounts. But we will implement this in future. You can develop in manually for now, It's not difficult.

                        Comment


                        • #27
                          Ok. Three issues:

                          1. If the subject of email is blank, there is no way to open it in espocrm.
                          2. Emails are not getting automatically attached to contacts. I have do them manually
                          3. When the cron job fetches emails, it is automatically marking my mails in gmail as read. Since the gmail account is being used by multiple people, it might confuse them.

                          Regards

                          Comment


                          • #28
                            1. Is subject always blank or in some cases?
                            2. There is the issue of some emails not linked through email address. Will be fixed soon.

                            Comment


                            • #29
                              1. The subject is blank when the sender has left it blank.

                              2. When I open some mails, the body is not visible.
                              3. Also some of the mails are not fetched. I am looking for certain mails but they are not there. I can't figure out a pattern yet.
                              4. Besides, when I search using the search box, some mails are searched while others are not.
                              5. It shows me there are more mails (the grey colour strip underneath) and shows number 1 on the right side. But when I click on Show More it doesn't show any additional mails.

                              Comment


                              • #30
                                2. There could be issue with some not standard encoding. We try to figure it out.
                                3. Maybe there are large attachments?

                                Comment

                                Working...
                                X