Discourse user email rejected by recipients what is the best practice for this user

English Title: 【How to Handle Undeliverable Emails for Discourse Users】

Discourse is highly dependent on email.

Usually, users might reject emails because your website sends too many. If you are using a third-party email server, the logs will typically show a rejection.

For rejected emails, we usually want to retain the user and not delete them.

After digging into the Discourse backend, we discovered a “Deactivate Account” feature.

This feature should deactivate the user, so they stop receiving emails. However, their data will still be on the website, and they can reactivate their account via email to continue using it.

This should be a good solution.

Are there any other solutions available for consideration?

Original post: How to Handle Undeliverable Emails for Discourse Users - Services & Management / Discourse - OSSEZ, welcome to join the discussion.

1 Like

Can you try asking your question in English? That will make it possible for more members of the community to help with the question.

Sure, I changed the title to English

Is the problem that emails sent from Discourse to the user are bouncing? If it is, you can find a record of the bounced email on your site’s Admin / Emails / Bounced page. If you click the link that is displayed in the last column on that page (the Email Type column), the bounce message that was returned from the user’s mail server will be displayed. That bounce message will often give details about what need to be done to resolve the issue on the mail server so that emails from Discourse can be delivered to the user.

Thanks.

The issue is the email rejected by user, We only can find this from log from email server (There is no record from Bounced page).

If we are not disable this user, Discourse will keep sending email which means will reject again.

In this case we have to manually disable from discourse user management.

Is that any way to automatic didactive this user?

1 Like

It is unfortunate that the emails are not being marked as bounced by the mail server. If that was the case, Discourse would automatically stop sending them emails for a period of time after a few emails sent from Discourse had bounced.

For your case you may have to manually deactivate the user from their admin page.

1 Like

I see, Thank you very much. @simon