peepo
CDCloudflare Developers
•Created by peepo on 5/8/2024 in #workers-help
MailChannels Pages Plugin Issue with Next.JS 14
I've got a CloudFlare Pages project up, and I've set up all of my DNS records in Cloudflare for the Domain Lockdown, SPF, and DKIM according to the documentation: https://developers.cloudflare.com/pages/functions/plugins/mailchannels/ I've got my /functions/_middleware.ts file copied and pasted from the documentation's personalization example and hardcoded the emails, and I've added the data-static-form-name attribute to my form.
When I submit the form and check the logs, I only see get requests with 200 response codes, but I don't see any post request and I don't receive an email. Has anyone else run into this?
2 replies