resend not working in internalMutation
My API key was configured, my resend domain was verified and magic link email were working fine
(after setting the
from param). But when I tried to send emails at runtime resend.emails.send() would give the errorAfter 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
