Hi folks - I'm setting up the backend for supertok...
# support-questions-legacy
n
Hi folks - I'm setting up the backend for supertokens and for some weird reason am finding that overriding sendEmail for email verification doesnt seem to have any effect.. Even absolute base case of overriding and not calling the originalImplementation.sendEmail still sends the email. Feel like I must be doing something wrong here
An example of our usage
r
Hey! Can I see the import statements?
n
Yep sure -
In case it helps, createNewSession in Session.init is definitely being called on form submit
r
You have copy pasted the sendEmail override incorrectly
It’s emailverification -> emailDelivery -> override -> sendEmail
n
Ah - thank you!