Cloudflare Worker that can send SMTP emails without an API dependency

jskinnerd

Regular Member
Joined
Jul 21, 2023
Messages
205
Reaction score
299
Cloudflare Workers don't offer functionality for sending emails, so I created an SMTP client from scratch in a worker.
It's fantastically reliable, so much that I'm using it for my dad's company for contact forms.
I no longer depend on form providers (formspree) or email APIs (twilio) which is soooo nice. But you need SMTP creds

And in some sense it's free-proxied emails because Cloudflare is just one big free proxy.
But I'm not sure if that justifies its worth by itself.

So my question is, what are some use-cases you'd like to see with this?

I'd appreciate any ideas :)
 
Last edited:
I know what an SMTP is. But your explanation of your configuration can be clearer for better understanding.
 
Does this mean you can send unlimited emails through cloudflare using smtp? I don't really get it
 
Cloudflare Worker is acting as a relay or a bridge between the contact form and your email account, but it's not actually hiding or proxying the email sending process itself because the sending happens from your smtp setup/server.
 
Back
Top