marnec
CCConvex Community
•Created by marnec on 11/20/2024 in #support-community
resend not working in internalMutation
I had a problem where I wasn't able to send emails with Resend.
My API key was configured, my resend domain was verified and magic link email were working fine
(after setting the
I also read the docs extensively but I hadn't found or anticipated that this would happen
from
param). But when I tried to send emails at runtime resend.emails.send()
would give the error
After a long time debugging I found out that my problem was that I was trying to send emails from an internalMutation
. I switched to internalAction
and all immediately worked.
Could someone please explain the reason for this?I also read the docs extensively but I hadn't found or anticipated that this would happen
9 replies