Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add email worker support #274

Open
1 task done
zengboin opened this issue Jan 31, 2023 · 10 comments · May be fixed by #624
Open
1 task done

[Feature] Add email worker support #274

zengboin opened this issue Jan 31, 2023 · 10 comments · May be fixed by #624

Comments

@zengboin
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

Please add email event/worker support

@benthecarman
Copy link

+1 this would be great to have

@GlenDC
Copy link

GlenDC commented Feb 22, 2023

I would be a first time contributor, but if someone can point me to some kind of semi-structured plan and some pointers I wouldn't mind contributing support for this myself. Happy to help like that!

@fengyangsi
Copy link

+1

@GenshinMinecraft
Copy link

+1, But this Issue has been on the table for 2 years now, and I don't see it happening anytime soon.

@spigaz
Copy link
Contributor

spigaz commented Sep 20, 2024

There is a PR open already for it, I'm not sure why @LuisDuarte1 hasn't pushed the requested changes.

You could either talk with him or pick up where he where he left of.

@LuisDuarte1
Copy link
Contributor

You could either talk with him or pick up where he where he left of.

I probably only be to able to pick it up in 3 weeks time, lots of stuff going on right now 😅

Feel free to take my work if you want to, the only think not working was that bindings weren't being set properly, for some reason

@NiiightmareXD
Copy link

Are there any updates?

@spigaz
Copy link
Contributor

spigaz commented Feb 14, 2025

I'm guessing this native api still uses mailchannels.
https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels/

There are alternatives, for instance, postmark or resend with a post request, resent has a crate but it seems its not working.
https://developers.cloudflare.com/workers/tutorials/send-emails-with-postmark/
https://developers.cloudflare.com/workers/tutorials/send-emails-with-resend/

If you still want to use the native using mailchannels, you have to register with them:
https://support.mailchannels.com/hc/en-us/articles/4565898358413-Sending-Email-from-Cloudflare-Workers-using-MailChannels-Email-API

Comments from support with some alternatives:
https://community.cloudflare.com/t/mailchannels-end-of-life-notice-migrate-now/658638

But I guess you can use any provider that accepts a post request to send an email or has a working crate.

@NiiightmareXD
Copy link

I'm guessing this native api still uses mailchannels. https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels/

There are alternatives, for instance, postmark or resend with a post request, resent has a crate but it seems its not working. https://developers.cloudflare.com/workers/tutorials/send-emails-with-postmark/ https://developers.cloudflare.com/workers/tutorials/send-emails-with-resend/

If you still want to use the native using mailchannels, you have to register with them: https://support.mailchannels.com/hc/en-us/articles/4565898358413-Sending-Email-from-Cloudflare-Workers-using-MailChannels-Email-API

Comments from support with some alternatives: https://community.cloudflare.com/t/mailchannels-end-of-life-notice-migrate-now/658638

But I guess you can use any provider that accepts a post request to send an email or has a working crate.

How about receiving emails?

@spigaz
Copy link
Contributor

spigaz commented Feb 14, 2025

Yes, you are correct, you were talking about email workers, my mistake:
https://developers.cloudflare.com/email-routing/email-workers/

Well there is the PR that @LuisDuarte1 did, but he wasn't able to pick up since
#624

I'm not sure if its usable, but it might be, he even did an example, I would try it if I were you...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants