Nodemailer works on local, but not works without displayunlockcaptcha on Netlify

Hey @hyla526, before moving forward, I want to confirm that this code is in a Netlify function? If it’s not, then it’s not getting deployed since, with Netlify and the Jamstack in general, there’s no server at runtime. If it is, please go ahead and send your Netlify URL and an x-nf-request-id so we can dig in further!

In the meantime, I wanted to share another post on this topic that may be helpful: