CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Scheduled mailing not sending after upgrade from 3.3.5 to 3.4.3
Pages: [1]

Author Topic: Scheduled mailing not sending after upgrade from 3.3.5 to 3.4.3  (Read 659 times)

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Scheduled mailing not sending after upgrade from 3.3.5 to 3.4.3
June 15, 2011, 05:30:53 am
Hi,

On a site that we've just upgraded from 3.3.5 to 3.4.3, there was a mailing that was created before the upgrade and scheduled to send at a time after the upgrade. This has failed to send: its status stayed 'Scheduled' and no child job was created.

I tracked down one problem: the queries in Mailing/BAO/Job.php runJobs, runJobs_pre and runJobs_post now include domain_id, which wasn't set on mailings created before the upgrade. I set this field for the scheduled mailing and ran civimail.cronjob.php again. The mailing now moved to 'Running' and a child job was created, but no mails were sent.

I've looked at the query being run at the start of deliver(), this returns no results because civicrm_mailing_event_queue has no records for the relevant job_id. So the next stage would be to work out why that is. There seem to be several changes to Mailing/BAO/Job.php . Would it be best to cancel the mailing & create a new one based on it?

Dave J

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: Scheduled mailing not sending after upgrade from 3.3.5 to 3.4.3
June 15, 2011, 05:42:20 am
There is an issue for this in the queue - http://issues.civicrm.org/jira/browse/CRM-8085. Will also point to your post.

Quote
Would it be best to cancel the mailing & create a new one based on it?
Yes, thats the best option for now.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Re: Scheduled mailing not sending after upgrade from 3.3.5 to 3.4.3
June 15, 2011, 06:30:41 am
Hi Deepak,

Ah, I didn't find that issue, thanks!

Dave J

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Scheduled mailing not sending after upgrade from 3.3.5 to 3.4.3

This forum was archived on 2017-11-26.