I build a website which has the frontend in NextJS and the backend is Craft.

Everything works fine except for the emails.

Does anyone have any experience on how I can send the submitted form to the email server using React?

With Twig it's pretty straight forward but with React I can't find a solution.

  • Can you be more specific? What form do you want to send where? What have you done in Twig that isn't working in React? You can send anything you want from React to the server using fetch – but you can't directly send emails from React. What are you actually trying to do?
    – MoritzLost
    Sep 24 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.