Details
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.