Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Email notifications for new registrations are no longer sent #4916

Closed
5 tasks done
Illecors opened this issue Jul 22, 2024 · 3 comments
Closed
5 tasks done

[Bug]: Email notifications for new registrations are no longer sent #4916

Illecors opened this issue Jul 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Illecors
Copy link

Illecors commented Jul 22, 2024

Requirements

  • Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a single bug? Do not put multiple bugs in one issue.
  • Do you agree to follow the rules in our Code of Conduct?
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.

Summary

Starting with 0.19 my instance no longer sends out registration notification emails. Email itself is working fine - reports and registration verification is sent out correctly.

Postfix logs only show a single connection attempt as well.

Steps to Reproduce

  1. Sign up at lemmy.cafe

Technical Details

lemmy.log

Version

0.19.5

Lemmy Instance URL

https://lemmy.cafe

@Illecors Illecors added the bug Something isn't working label Jul 22, 2024
@dessalines
Copy link
Member

Here's the code for that: https://github.com/LemmyNet/lemmy/blob/main/crates/api_crud/src/user/create.rs#L190

Do you have require_email_verification turned on? If so, it shouldn't send one out until after they've verified their email.

@Illecors
Copy link
Author

I do have require_email_verification turned on. I think it used to work exactly the way you describe - after the applicant confirmed their email address.

The comment on line 190 and the following if implies that it actually would not send out an email. If that's expected - should I raise a feature request?

@Nutomic
Copy link
Member

Nutomic commented Jul 30, 2024

In that case the admin notification is sent out after the user verified his email address. However the check for RegistrationMode::RequireApplication seems wrong and is probably causing your problem as you have applications disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants