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

Mailings submitted before 3.4.0 upgrade but scheduled afterwards are not being sent

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0, 3.4.1
    • Fix Version/s: 3.4.5, 4.0.5
    • Component/s: CiviMail
    • Labels:
      None

      Description

      See http://forum.civicrm.org/index.php/topic,19885.0.html

      I have 2 mailings which were submitted before the 3.4.0 upgrade but were scheduled to be sent afterwards.

      The cron job runs and sends other mailings, but these 2 remain 'Scheduled'.

      I noticed that CRM_Mailing_BAO_Job::runJobs_pre() looks for civicrm_mailing rows which have the domain_id set. The domain_id is NULL in all my mailings which were scheduled before the upgrade to 3.4.0, and "1" in all those scheduled afterwards. This explains why these 2 aren't being processed.

      Setting domain_id equal to my Domain Id ("1") and running the cron job results in the job being set to the 'Running' state, however none of the emails are sent.

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              ken Ken West
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: