mirror of
https://github.com/Sh4yy/cloudflare-email.git
synced 2026-04-27 02:45:52 +03:00
[GH-ISSUE #6] Is this still working though? #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare-email#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @savokiss on GitHub (Jun 30, 2023).
Original GitHub issue: https://github.com/Sh4yy/cloudflare-email/issues/6
I have deploy my this worker into production.
And added a
SPFrecord and a_mailchannelsrecord to my domainA.And added a custom domainB to my worker.
Then try to POST
https://domainB/api/emailthe body below:But it always showed
Internal Server Error.Is there anything I missing to use this email sender?
@Sh4yy commented on GitHub (Jun 30, 2023):
Have you set up the new _mailchannels DNS record?
https://github.com/Sh4yy/cloudflare-email#setup-spf
@savokiss commented on GitHub (Jul 2, 2023):
Yes, I have set up this record too. But it is still not working, just respond the
Internal Server Errormessage.@andreresende commented on GitHub (Jul 15, 2023):
Same error here. Error 500
@V-ed commented on GitHub (Jul 15, 2023):
It happened to me too. I initially used the
Deploy with Workersbutton and that never worked. Upon inspecting the code on cloudflare quick edits feature, I noticed the worker deployed was actually the default hello world. Maybe I configured it badly, dunno.I then tried to use the 4 steps of cloning the repo locally to deploy it with wrangler and after properly setting up the SPF record as well as the now required TXT Domain Lockdown error (and since I was already using cloudflare to redirect my domain's email, I had to merge them so it looked at the end like this :
v=spf1 a mx include:relay.mailchannels.net include:_spf.mx.cloudflare.net ~all), and after setting up both it seems to work fine for me!Make sure to also always use a
frommail coming from your domain, for some reason I thought I could send emails with thefromfield as any email, obviously that doesn't work hahaSo yeah, maybe the
Deploy with Workersbutton is broken, that I can't confirm, but it works for me after passing by and upvoting this issue initially.@andreresende commented on GitHub (Jul 15, 2023):
Yes, it working here after configuring domain lockdown. I think it is mandatory now.
@V-ed commented on GitHub (Jul 15, 2023):
Confirmed mandatory for Cloudflare workers (from Domain Lockdown error) :