Issue: Cannot receive incoming email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kapua
    Junior Member
    • Jan 2022
    • 8

    Issue: Cannot receive incoming email

    Issue:
    I cannot receive incoming emails.

    What have I tried?
    • I have setup imtp correctly
    • I have used 2-step password generation for the application.
    • I have tested outbound email, successful.
    • I have test imtp and came back okay!
    • I have looked in data/logs and the error I see are two which have nothing to do with email. No other error message.
    Email Provider?

    The email provider is Google. I have followed the instructions for proper port and SSL/TLS.

    Mis Notes:

    Under [all] in the email tab, I am able to see sent emails, nothing else comes through. However, emails are being sent to the Gmail account (I use Google Workspace, so think support(@)domainnamehere(dot)com.) which means I can see them when I log into my email account, just not in the CRM system.
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    #2
    Did you turned on cron?

    Comment


    • Kapua
      Kapua commented
      Editing a comment
      Let me test something and see, this is a great question.

    • Kapua
      Kapua commented
      Editing a comment
      This is what I see: "Jan 28 13:38:01 pcon CRON[754]: (root) CMD (cd /var/www/vhosts/<domain>/<subdomain>; -f cron.php > /dev/null 2>&1) "
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    #3
    Kapua please go to Administration section, scroll down and open Jobs.

    Comment

    • Kapua
      Junior Member
      • Jan 2022
      • 8

      #4
      Here is what I see.

      Comment

      • emillod
        Active Community Member
        • Apr 2017
        • 1405

        #5
        Yeah, like i thought - that's the issue. Please configure cron on your server. Here you have a short tutorial from us: https://www.youtube.com/watch?v=OmLW1Dwwa3Y

        Comment

        • Kapua
          Junior Member
          • Jan 2022
          • 8

          #6
          Thank you so much for your help and most importantly your time.

          Comment

          • Kapua
            Junior Member
            • Jan 2022
            • 8

            #7
            Okay, so I am getting an error: "crontab: user 'apache' unknown." -- It is important to also note that I am using Plesk for easy management. But I can also still go into command prompt via putty.
            Last edited by Kapua; 01-28-2022, 06:00 PM.

            Comment

            • emillod
              Active Community Member
              • Apr 2017
              • 1405

              #8
              Kapua you should set cron on proper user - apache, www-data or any other user on plesk which run web server. Also you should enter proper id/name of user in config. Check what user EspoCRM entered in config.

              Comment

              • Kapua
                Junior Member
                • Jan 2022
                • 8

                #9
                I registered the cron job with root using:

                sudo crontab -e

                I then scheduled the job as:

                * * * * * php -f /var/www/vhosts/domainname/subdomainname/cron.php
                Last edited by Kapua; 01-28-2022, 07:30 PM.

                Comment

                Working...