I can't get inbound emails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prince2911
    Junior Member
    • Jul 2014
    • 17

    I can't get inbound emails

    Hello,

    I was trying to configure my CRM to get inbound emails, but I could not.
    Schedule Jobs log is giving me fail when I run cron. (please see attached screenshots) (php.exe -f E:\Morsi\wamp\www\cron.php)

    outgoing emails are working fine
    when configuring the inbound email server, I can connect and chose the needed folders (INBOX and Trash INBOX). see attached.

    In the user preferences form, there is nothing at the notification tab.

    Please advise.

    Thanks and best regards,
  • yuri
    Member
    • Mar 2014
    • 8511

    #2
    Hi

    Fails in log don't mean anything (it's a bug).

    Are you familiar with PHP? Can you make some debugging to find out where is the problem? I can help you.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • prince2911
      Junior Member
      • Jul 2014
      • 17

      #3
      Hello,

      not really familiar, but still I have good knowledge.
      please let me know how I can debug.

      Best regards,

      Comment

      • yuri
        Member
        • Mar 2014
        • 8511

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

        put

        echo "debug";
        die;

        in the beginning of fetchFromMailServer method and run cron in shell.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • prince2911
          Junior Member
          • Jul 2014
          • 17

          #5
          Hello,

          Please see attached for results.

          Best regards,

          Comment

          • yuri
            Member
            • Mar 2014
            • 8511

            #6
            You should move lower, put echos and dies and find out where is the problem.
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • sguptajpr
              Junior Member
              • Oct 2014
              • 21

              #7
              Hi prince2911, Did you get the solution to your problem? I am having same problem but I am also getting success in scheduled jobs log. Still I can't see my mails.

              Comment

              • yuri
                Member
                • Mar 2014
                • 8511

                #8
                sguptajpr, if you provide me an access to your server (ftp/sftp) and admin access to espocrm I can try to figure out. You can send via PM.
                If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                Comment

                • sguptajpr
                  Junior Member
                  • Oct 2014
                  • 21

                  #9
                  Mr Yuri. I have sent a PM to you containing my admin login details and ftp details. Please check.

                  Comment

                  • yuri
                    Member
                    • Mar 2014
                    • 8511

                    #10
                    Hi

                    I will look when will have some time today. Or tomorrow. I remember.
                    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                    Comment

                    • sguptajpr
                      Junior Member
                      • Oct 2014
                      • 21

                      #11
                      Dear Mr Yuri,

                      I see that you have run some tests on my account. Did you find anything wrong?
                      Also, my network was not behaving properly yesterday. Hope you did not face any difficulty.

                      Comment

                      • yuri
                        Member
                        • Mar 2014
                        • 8511

                        #12
                        Hi

                        No success yet. I will try again on Monday.

                        What can you see in log (data/logs) regarding emails?
                        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                        Comment

                        • sguptajpr
                          Junior Member
                          • Oct 2014
                          • 21

                          #13
                          Well, about the test gmail account added by you, I see wrong username or password error in the logs of 10 October 2014.
                          However, today I added my account again for checking but I don't see any error related to my account or even your test account.

                          Comment

                          • sguptajpr
                            Junior Member
                            • Oct 2014
                            • 21

                            #14
                            Dear Mr Yuri,

                            Did you find time to have a look at the problem?
                            What I am confused about is if the code is working for others that why not for me? Does it have any relation to my local computer/internet configuration?

                            Comment

                            • yuri
                              Member
                              • Mar 2014
                              • 8511

                              #15
                              Hi

                              Haven'e find out where is the problem. I think the problem with configuration of the server. Can you leave for me some test inbound email account. Thanks.
                              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                              Comment

                              Working...