Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8678

CiviMail doesn't record email as delivered until the mailing finish

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.5
    • Fix Version/s: 3.4.6
    • Component/s: CiviMail
    • Labels:
      None

      Description

      The CiviMail in 3.4.5 doesn't record email as delivered until the mailing finish.

      In our case, we run civimail.cronjob.php every minute and sent a mailing to 2000+ recipients. If the cronjob runs exceed the max execution time, it will terminate and no delivered records inserted. If the cronjob runs again, the recipients who already got the emails before will get another one.

      I noticed there is new function bulkCreate() are introduced which will need the mailing finish to bulk insert the delivered records. The delivered emails should be recorded during the mailing is running.

      The current solution is to set the max execution time to a fairly large number.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              rui Rui Duan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: