Skip to content

Debug tools for email-sending #86

@vanschelven

Description

@vanschelven

From discord, taking it here for actionability & bigger reach:

I have all working and running, accept emails are not being send.
Email host and email user settings are all correct [..]

Ok, let's start debugging.
I'm also assuming you don't have and didn't have a big yellow bar at the top of the page telling you the setup is incorrect.

Would be nice to have a test email setup in the UI.

I'll add something "soonish". Meanwhile, the "reset password" form (accessible from the login page, i.e. when logged out) might function as such. It will be explicit about the known-ness of the email-address, so if you get anything but an error message an email should be sent out.

Also the log does not show any emails going out, are those supposed to be logged ?

The sending of emails themselves is not logged, but depending on your setup, you may get "big hints". In particular, when you are running with snappea (as per the recommended "single server" setup or anything that uses the Docker image), you should see the respective tasks showing up in the [snappea] logs.

e.g.:

Starting 062-713 for "users.tasks.send_reset_email" with ('[email protected]', 
Worker done for "users.tasks.send_reset_email" in 3.735s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions