Email Workers Issue with Email Replies on Subdomain
I am following the instructions on https://developers.cloudflare.com/email-routing/email-workers/reply-email-workers/ to set up reply emails.
It functions correctly when the sender sends an email to the top-level domain. However, I encounter an error saying
Error: mail from is not from the correct domain
if the email is sent to a subdomain.
I have ensured that the MX and TXT records are configured for both the top-level domain and the subdomain.
Is email reply not supported for subdomains yet?Reply to emails from Workers · Cloudflare Email Routing docs
You can reply to incoming emails with another new message and implement smart auto-responders programmatically, adding any content and context in the …
3 Replies
Blast from the past. but did you ever find a solution for this?
Ran into this myself. From my testing, it looks like it's still an issue
From what I end up gathering I don't think it's possible out of the box.
I thiiiiink if you have an Enterprise account, what you can do is treat every sub domain as his own "domain" (heavy quotes against that)
Don't call me on that though. I think i recall somebody mentioning that in a random GitHub.nesaage or tweet somewhere