Mass Mailing doesn't work. Please, help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ekaterina
    Junior Member
    • Sep 2017
    • 7

    Mass Mailing doesn't work. Please, help!

    I have just installed the last version of your CRM according to your instructions. I want to use masse mailing, but it doesn't send emails.
    Sheduled jobs demanded to add the line to crontab, it's done via SSH:
    "Note: Ajoutez cette ligne dans le fichier crontab pour lancer les tâches planifiées:
    * * * * * cd /homepages/28/d543439267/htdocs/espo; /usr/bin/php -f cron.php > /dev/null 2>&1"



    Sent Test works
    Send Mass Emails Scheduled Job is Active
    'siteUrl' paramater in data/config.php file is OK

    I studied the post from lerq57 but unfortunately i can't resolve the non sending of emails.

    Many thanks in advance!
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello

    Seams cronjob is not set correctly or it uses too old version of php...
    Open schedule job log, if you have any success record...

    Open also apache error log and espocrm log....

    Comment

    • Ekaterina
      Junior Member
      • Sep 2017
      • 7

      #3
      Hello Tanya,
      there is nothing in the schedule job log in espo system, nor in espo/data/logs.
      Unfortunately I don't have acces to apache error log, and my hosting provider can't give it to me.
      Actual php version is php7

      Regards,
      Ekaterina

      Comment

      • tarasm
        Super Moderator
        • Mar 2014
        • 573

        #4
        To understand if your cron job works, please go to EspoCRM Administration panel > Scheduled Jobs and open one of list job, e.g. "Send Mass Emails" and check if your "Log" sub-panel is not empty.
        Job Offers and Requests

        Comment

        • Ekaterina
          Junior Member
          • Sep 2017
          • 7

          #5
          "Log" sub-panel is empty

          Comment

          • tarasm
            Super Moderator
            • Mar 2014
            • 573

            #6
            Do you have access to your server/hosting via cPanel or other administrator panel? Or via SSH?
            Job Offers and Requests

            Comment

            • Ekaterina
              Junior Member
              • Sep 2017
              • 7

              #7
              Yes I can access via PuTTY with username provided by hosting company. In that way i modified cron with "* * * * * cd /homepages/28/d543439267/htdocs/espo; /usr/bin/php -f cron.php > /dev/null 2>&1"

              Comment

              • Ekaterina
                Junior Member
                • Sep 2017
                • 7

                #8
                It still doesn't work. Please, do you have any other ideas how to repare? Thanks in advance.

                Comment

                • tarasm
                  Super Moderator
                  • Mar 2014
                  • 573

                  #9
                  Do you have any cPanel or other administrator panel for your hosting? Maybe, cron job can be configured inside the panel.
                  If no, try to login via SSH and run these command to check if they work good in your hosting.
                  Code:
                  cd /homepages/28/d543439267/htdocs/espo
                  /usr/bin/php -f cron.php
                  Job Offers and Requests

                  Comment

                  • Talbot
                    Junior Member
                    • Nov 2014
                    • 6

                    #10
                    If you're looking for a simpler cron job solution, you might consider webcron services like easycron.com which will load a specific URL at a given time.

                    Comment

                    • Ekaterina
                      Junior Member
                      • Sep 2017
                      • 7

                      #11
                      Tarasm, thanks for your advice. I connected via SSH PuTTY, unfortunately i have an error message :

                      Comment

                      • Ekaterina
                        Junior Member
                        • Sep 2017
                        • 7

                        #12
                        Dear supporting service, please could anybody log on to the server and see why it doesn't work?

                        I could provide you with all user and password info by seperat email.

                        Just need a email adress from you. I would be vry thankfull.

                        Best Regards,
                        Ekaterina


                        Comment

                        • tarasm
                          Super Moderator
                          • Mar 2014
                          • 573

                          #13
                          I think, you have a wrong PHP version for cli "/usr/bin/php". To make sure, run the command:
                          Code:
                          /usr/bin/php -v
                          It should be PHP 5.5+.

                          EspoCRM specialists can help you, submit your request here https://www.espocrm.com/support/ (service is paid).
                          Job Offers and Requests

                          Comment

                          Working...