I see no indication that any email was sent other than that, nothing any logs or admin display. Even my email provider is not showing a spike in the number of sent emails.
Is it possible that the “invites mailed” part of the message is not correct?
I don’t see anything that looks like bulk email sent in /admin/email/sent. Might there be a log entry elsewhere I’m missing?
Another thing that may be of interest. I expected to have a dialog window similar to the one when sending a single invite but there was not. Is that normal behavior?
If the email delivery is working fine on your site than I can assure you that all of 840 invite emails were sent. Maybe try confirming with one of your invited user if you want to double check?
Are you seeing any recent email sent entry on /admin/email/sent? Can you try sending test email from /admin/email and see if that creates log entry? (it should.)
I just tested this on my own site with a staged user’s email address in the bulk invite CSV file. The response I got from Discourse was:
Your bulk user invite file was processed, 1 invites mailed.
but there was no invite sent. I’m not sure what the expected behaviour is for inviting staged users, but the problem in the Discourse code seems to happen here: discourse/app/jobs/regular/bulk_invite.rb at main · discourse/discourse · GitHub. User.find_by_email(<staged_user_email>) will return a user, so the invite doesn’t get sent.
If staged users cannot be invited to the forum, the notification that is sent should not say that invites were mailed for these users.
Edit: not being able to bulk invite staged users seems to be a regression. Sending individual invites to staged users works without any problems.
@tisawyer updating your instance to latest version will allow sending bulk invites to staged users.
(I marked the commit as feature because bulk invite was initially not supposed to be used for staged users. We started allowing inviting staged users in this commit, and now we allow it for bulk invite as well.)
Looks like it worked. Sent a bulk invite to list of one user as a test. Will do the real invite after a bit more testing and some tuning of the sent email.