Herverzenden mislukte e-mails

AI-generated summary

The discussion revolves around re-sending failed emails in Discourse, particularly invites. AndyBr asks how to re-send failed emails after encountering issues with email settings post-setup, noting that hundreds of invites were sent but not delivered. awesomerobot explains that while re-sending invites is possible via the user profile, there’s no built-in way to re-send other failed emails, requiring command-line intervention. AndyBr expresses the need for a more user-friendly solution, such as a re-send button or automatic retry system. Stephen questions whether email functionality was tested beforehand, but AndyBr clarifies that initial tests worked, and the issue arose later due to a server problem, highlighting the importance of a reliable re-send mechanism.

Continuing the discussion from Re-inviting/resending invites to users?:

Is this now a function in Discourse? How do I access it?

I had an issue with my email settings on a new Discourse setup and would like to re-send all my invites and any other e-mails that failed.

Does anyone know the answer?

That’s quite an old topic, that feature was added in 2014.

That specific feature is about re-sending invites only, you can see it associated with invites you’ve sent on your profile: community.example.com/my/invited/pending

I don’t believe there’s a way to resend other emails from within the Discourse interface and it would needed to be done via command line on your server. I don’t know the exact steps for that, but depending on the importance of the missed emails, it may be more trouble than it’s worth.

Thank you for your reply.

I would love to know how to re-send failed e-mails, in fact, there should be a button one can click on the failed e-mail list to re-send once the e-mail settings have been fixed.
Or perhaps discourse should re-try a number of times/days on error.

It’s pretty important in my case, as I had hundreds of invites after I imported my old forum to discourse. Nobody got their invites!

Did you test sending invites beforehand?

New mail domains or domains sending from a different host can be pretty spotty early on.

Sadly, no. Live and learn!

I did however test e-mail functionality at at that time it worked fine. Somewhere between then and the time I did mass-invites mail stopped working. It was a server issue, but this could really happen anytime. I’m surprised there’s no way to re-send failed e-mails!