How can I test and troubleshoot the email feature?

I'd like to switch MULTIVERSE to require registration approval, at least temporarily during periods of lower staff availability, but I don't think anyone on our instance is receiving emails at the moment, and notifying users that their application has been approved is something I want to get working before requiring applications. I haven't received My verification email.

Is there a way I can send a dummy email to a specific user? And, do I need to do any steps to get emails working? I didn't configure any email server, is that required?

7 points · 5 comments · view on lemmy.world

5 Comments

jollyroberts@jolly-piefed.jomandoa.net · 2 pts · 199d (4 replies)

I there is a /email route for testing email. It's been a while since I read the install doc, but there was a way to test it mentioned in there when I set up my instance.

jollyroberts@jolly-piefed.jomandoa.net · 2 pts · 199d (3 replies)

From the install doc:

Test email sending by going to https://yourdomain/test_email. (after setting the FLASK_DEBUG environment variable to 1). It will try to send an email to the current user's email address. If it does not work check the log file at logs/pyfedi.log for clues.

In the extra info section 😁

Grail@multiverse.soulism.net · 1 pts · 199d (2 replies)

Thank you! I was able to send test emails, but didn't receive them, and there's nothing in the logs about the emails

rimu@piefed.social · 2 pts · 199d (1 reply)

They're probably being blocked by anti spam filters. Ensure you have SPF and DKIM set up on the domain.

Grail@multiverse.soulism.net · 1 pts · 199d

Thanks!