Skip to content

Disable automatic email sending in favor of custom integration? #2657

Answered by dbarrosop
stefan-girlich asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, two different problems:

disable sending emails

Not currently supported. A quick workaround would be to run a local mailhog (or similar) with Nhost Run so the emails go nowhere. We could, of course, implement a setting to disable sending emails. The only question is feature priorization (hence why I mentioned the mailhog workaround).

I want to trigger a function which passes the corresponding link to an external service via REST/HTTP which then sends the actual email

This is possible. You can create an event that is triggered based on some database columns being updated so you could just simply create an event for the relevant column (auth.users.ticket).

If you have more questio…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stefan-girlich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants