How to setup mailchannels integration on Cloudflare Pages app with a custom domain?
I made it work on workers, nothing complicated there, but it doesn't seem to work with pages.
Mailchannels just returns
Error: Mailchannels API rejected: Failed to send email: 550 5.7.1 This sender is not authorized to send from...
.
I've set up the _mailchannels
TXT record like this v=mc1 cfid=namespace.workers.dev cfid=namespace2.workers.dev cfid=customdomain.com
and it still does not work with the custom domain.9 Replies
Am I missing something?
Have you tried adding the pages.dev domain as an allowed one?
this^ you need to add the projects pages.dev subdomain as the cfid, as that is where the function runs
gonna try that right now
That's why we need the dev community =) Thanks folks! It's such an easy solution but still I didn't think of it
hi @maddsua are you using MailChannels on production? have you experience any rate limit?
Hey! I don't send huge amounts of email, but I've seen stats with 100k successful requests per day. It's not like you're gonna lose something if you try it, right?
all I need is just peace of mind in the weekend 😄
would there be any other reason this error is getting thrown ?
my txt record is
and the error i get back is
no idea why or how but it started working
i thin the dns was cached and it was serving the previous record i set
Please open a new topic instead of bumping an old one. You can reference this one in your new one by copying the link