Body: <p>The Mail reports scheduled job was working fine until recently. We've not run any upgrades or installed any extensions for a few months now. Upon running the job manually, we get these errors:</p>
  <p><a href="https://i.sstatic.net/YgECw.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/YgECw.png" alt="Mailing Error" /></a></p>
  <p>The job log however, states its been successfully run, but no mail ever gets sent out. Is there any idea how to go about debugging this to understand the cause and how to fix it?
  We are running Civi 5.42.1 on Wordpress.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-23T09:38:34.137Z
Comments.Text: Is there more detail in the log?  Can you send a test mail from `Administer > System Settings > Outbound Mail` ?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-23T14:27:43.627Z
Comments.Text: Are you using any extensions for sending mail like SparkPost etc or are you just using the default mail().
Comments.UserDisplayName: Barijohn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-24T12:45:50.970Z
Comments.Text: @Barijohn Not using any extensions for send mail, but using SMTP.
Comments.UserDisplayName: Sudesh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-24T12:49:35.930Z
Comments.Text: @Aidan Thanks for this suggestion. I tried to send the test email and I get an error.
  authentication failure [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 535, response: authentication failed (#5.7.1))]
  Seems like my SMTP settings are no correct. Not sure why it has changed though - never touched it. Anyway will check it out.
Comments.UserDisplayName: Sudesh
Tags: <civireport><cron-job><mail>
Title: Mail Reports scheduled job - Mailing Error
ThreadText: # Mail Reports scheduled job - Mailing Error
  
  (Asked by: username_0 on 2022-05-15)
  
  The Mail reports scheduled job was working fine until recently. We've not run any upgrades or installed any extensions for a few months now. Upon running the job manually, we get these errors:
  
  [![Mailing Error](https://i.sstatic.net/YgECw.png)](https://i.sstatic.net/YgECw.png)
  
  The job log however, states its been successfully run, but no mail ever gets sent out. Is there any idea how to go about debugging this to understand the cause and how to fix it?
  We are running Civi 5.42.1 on Wordpress.
  
  **Tags:** civireport, cron-job, mail
  
  > **Comments:**
  > **username_1**: Is there more detail in the log?  Can you send a test mail from `Administer > System Settings > Outbound Mail` ?  
  > **username_2**: Are you using any extensions for sending mail like SparkPost etc or are you just using the default mail().  
  > **username_0**: @username_2 Not using any extensions for send mail, but using SMTP.  
  > **username_0**: @username_1 Thanks for this suggestion. I tried to send the test email and I get an error. authentication failure [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 535, response: authentication failed (#5.7.1))] Seems like my SMTP settings are no correct. Not sure why it has changed though - never touched it. Anyway will check it out.  
  
  ---
  
  ## 0 answers
  
  