Hi, i'm trying to send a custom email after an use...
# support-questions
i
Hi, i'm trying to send a custom email after an user signup. The signup works fine, but none email is sent after. As written in the documentation, i have defined the createAndSendCustomEmail function in my recipe (ThirdPartyEmailPassword). I put in it a console.log, but it doesn't appear during the signup api. In thread i put the supertokens.init code. Can you help me?
My frameworks are Nestjs for backend and Angular for frontend
This is my code:
r
hey! the config seems fine
how are you calling the API?
i
i'm calling the api at auth/signup exposed by the supertokens middleware from the frontend. had i to override some api or had i call the email verify api dircetly after the signup?
r
the API for email vertification and reset password are not auth/signup. They are different APIs. So if you call them, then your functions should be called
i
ok, so when i signup a new user i had to signup and then call the verify email api, right?
r
Yes.
i
ty, i didn't understand that
r
hope it's clear now 🙂
i
yeah 😄