Answers.Body: <p>This is known <a href="https://lab.civicrm.org/dev/core/-/issues/1717" rel="nofollow noreferrer">issue</a> reported by Andy. Quick fix would to remove the <code>$mailer-&gt;disconnect()</code> function at <a href="https://github.com/civicrm/org.civicrm.flexmailer/blob/master/src/Listener/DefaultSender.php#L77" rel="nofollow noreferrer">line 77 in src/Listener/DefaultSender.php</a> file</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-17T20:34:10.170Z
Answers.Text: I don't have that level of access currently. Is there an eta on a long term fix?
Answers.UserDisplayName: Jason Miller
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-17T20:11:18.857Z
Answers.LastActivityDate: 2020-04-17T20:11:18.857Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I can send emails individually, but bulk emails never seem to work right. I've had no luck troubleshooting it, so I created a test group and added my own contact user to it and verified that it has my email set to home and primary. I created a new mailing to the group and sent it, and it says it started sending, but it hasn't sent anything, and the completed column is still blank. I clicked report on it, and it shows one recipient, but when I click on intended recipients, it says "There are currently no Intended Recipients". So I created another contact with a different email address, added it to the group, and sent another bulk mail. When creating the mail and selecting recipients, it shows the two expected contacts. Then I used "send test to group" to the same group, and both contacts received the test email immediately. So I submitted it, but it still didn't send to either user. The report shows 2 recipients, but when I click to see them, it says there are none. I checked a previously successful email, and it does list the recipients correctly. I turned on debugging, but I guess I don't know how to use it, because it didn't show anything. The scheduled job log shows the same generic success messages down the page, no errors or anything useful. Anybody know what's going on or how I can get some visibility into it? Is there a log file besides the cron log, or is there a way to get more messages into it?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-17T19:27:27.923Z
Comments.Text: Do you have flexmailer extension installed?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-17T19:42:57.923Z
Comments.Text: Yes, flexmailer is installed and enabled
Comments.UserDisplayName: Jason Miller
Tags: <civimail>
Title: Emails get stuck on send. How do I debug it?
ThreadText: # Emails get stuck on send. How do I debug it?
  
  (Asked by: username_0 on 2020-04-17)
  
  I can send emails individually, but bulk emails never seem to work right. I've had no luck troubleshooting it, so I created a test group and added my own contact user to it and verified that it has my email set to home and primary. I created a new mailing to the group and sent it, and it says it started sending, but it hasn't sent anything, and the completed column is still blank. I clicked report on it, and it shows one recipient, but when I click on intended recipients, it says "There are currently no Intended Recipients". So I created another contact with a different email address, added it to the group, and sent another bulk mail. When creating the mail and selecting recipients, it shows the two expected contacts. Then I used "send test to group" to the same group, and both contacts received the test email immediately. So I submitted it, but it still didn't send to either user. The report shows 2 recipients, but when I click to see them, it says there are none. I checked a previously successful email, and it does list the recipients correctly. I turned on debugging, but I guess I don't know how to use it, because it didn't show anything. The scheduled job log shows the same generic success messages down the page, no errors or anything useful. Anybody know what's going on or how I can get some visibility into it? Is there a log file besides the cron log, or is there a way to get more messages into it?
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_1**: Do you have flexmailer extension installed?  
  > **username_0**: Yes, flexmailer is installed and enabled  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-04-17. Score: 0
  
  This is known [issue](https://lab.civicrm.org/dev/core/-/issues/1717) reported by Andy. Quick fix would to remove the `$mailer->disconnect()` function at [line 77 in src/Listener/DefaultSender.php](https://github.com/civicrm/org.civicrm.flexmailer/blob/master/src/Listener/DefaultSender.php#L77) file
  
  > **Comments:**
  > **username_0**: I don't have that level of access currently. Is there an eta on a long term fix?  
  
  ---
  
  