E-Mail reminder problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kertscher
    Member
    • Feb 2020
    • 51

    E-Mail reminder problem

    Hi everyone,

    In the admin area I have defined a GMail address for each user.
    These emails were also sent successfully with Espo and I checked them again with the EspoCRM button.
    I'm trying to send emails before an appointment.
    Unfortunately I don't get an email as a reminder.
    How can I solve the problem?

    Any advice would be welcome.

    Lena
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi,

    Reminder uses the General Outbound SMTP connection to be sent by email. Also, an assigned to a record user should have specified email address in his profile. CRON should be configured.

    Comment

    • Kertscher
      Member
      • Feb 2020
      • 51

      #3
      Hi,

      thanks for your answer.

      I noticed that the CRON jobs are not working.

      Change in PHP.ini:
      memory_limit = 1024M

      I changed the CRON table as follows:
      Terminal: crontab -e -u www-data
      * * * * * cd /var/www/html; /usr/bin/php -f cron.php > /dev/null 2>&1

      Terminal: /usr/bin/php -f /var/www/html/cron.php
      I get the error message:
      PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/application/Espo/Core/Utils/Metadata.php on line 200


      How can I solve the problem?

      Lena

      Comment

      • Kertscher
        Member
        • Feb 2020
        • 51

        #4
        I found the solution.
        I have change the memory_limit in:
        /etc/php/7.3/apache2/php.ini

        but the correct PHP.ini is :
        /etc/php/7.3/cli/php.ini

        Lena

        Comment

        • Maximus
          Senior Member
          • Nov 2018
          • 2731

          #5
          Yes, CRON uses PHP for CLI so you need to increase this parameter for CLI instead.

          Comment

          Working...