Body: <p>I am using Drupal 7.56 and CiviCRM 4.7.20. When I execute the mailing scheduler it appears to complete successfully but no email is sent. It fails with this error:</p>
  
  <blockquote>
    <p>line 81 of /var/www/html/sites/all/modules/civicrm/CRM/Mailing/Info.php</p>
  </blockquote>
  
  <p>I have had a look at the code but have no coding skills to understand why this is happening. The circumstances are odd. I upgraded to 4.7.21 and it appeared to succeed however when I clicked System Status - Warning it displayed nothing. I then tried to continue a draft Mosaico email and it displayed nothing. I then reverted to CiviCRM 4.7.20 and a database backup. As far as I can tell there are no other issues other than the mailing scheduler failing.
  Any help would be appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-11T20:46:57.347Z
Comments.Text: Can you include the full error message from the Civi log file? What you posted seems like just a small part of the error message.
Comments.UserDisplayName: Borislav Zlatanov
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-12T12:10:09.533Z
Comments.Text: I'll try to get the rest of the error from the log and post it here. However whilst the emails won't go out if I manually execute the mailing scheduler, they go out perfectly well if I leave them for the cron job to initiate the job.
Comments.UserDisplayName: Martin Fuggle
Tags: <civimail><scheduled-job>
Title: Mailings appear to complete but do not send and remain "running"
ThreadText: # Mailings appear to complete but do not send and remain "running"
  
  (Asked by: username_0 on 2017-07-10)
  
  I am using Drupal 7.56 and CiviCRM 4.7.20. When I execute the mailing scheduler it appears to complete successfully but no email is sent. It fails with this error:
  
  > line 81 of /var/www/html/sites/all/modules/civicrm/CRM/Mailing/Info.php
  
  I have had a look at the code but have no coding skills to understand why this is happening. The circumstances are odd. I upgraded to 4.7.21 and it appeared to succeed however when I clicked System Status - Warning it displayed nothing. I then tried to continue a draft Mosaico email and it displayed nothing. I then reverted to CiviCRM 4.7.20 and a database backup. As far as I can tell there are no other issues other than the mailing scheduler failing.
  Any help would be appreciated.
  
  **Tags:** civimail, scheduled-job
  
  > **Comments:**
  > **username_1**: Can you include the full error message from the Civi log file? What you posted seems like just a small part of the error message.  
  > **username_0**: I'll try to get the rest of the error from the log and post it here. However whilst the emails won't go out if I manually execute the mailing scheduler, they go out perfectly well if I leave them for the cron job to initiate the job.  
  
  ---
  
  ## 0 answers
  
  