Viacheslav
CDCloudflare Developers
•Created by Viacheslav on 11/12/2024 in #general-help
Redirect domain to worker is not working
4 replies
CDCloudflare Developers
•Created by Viacheslav on 7/22/2024 in #workers-help
Mailing from worker
I read this page https://developers.cloudflare.com/email-routing/email-workers/enable-email-workers/ and can non found Email setting "Go to Email > Email Routing > Email Workers." in Cloudflare panel.
Also I found this page - https://developers.cloudflare.com/email-routing/email-workers/send-email-workers/ - is it working? What I need to set up to allow this function?
Where is page to verify Email address? I can not found it in Cloudflare panel.
Alternatively I have access to external mail server, but Nodemailer not working with Cloudflare. Some peoples said that is exist setting 'Node-compability' for worker. I try to add this setting to TOML setting file, but nothing changing - Nodemailer still not compiled with worker.
So, how I can send mail from Cloudflare Worker?
1 replies
CDCloudflare Developers
•Created by Viacheslav on 7/16/2024 in #workers-help
Can I add script Verify Human to Cloudflare worker page (without custom domain)?
3 replies
CDCloudflare Developers
•Created by Viacheslav on 7/16/2024 in #workers-help
What mail client I can use with cloudflare worker for sending mail to one email address?
Mailing usually a horrible function because anybody want to restrict mailing and invent new and new restriction. And we have millions various clients for mailing with money. However I want to create mail notification to one email (I'm ready to verify that this is my email). I don't need domain xxxxxxx.pages.dev is enough to my notification functions. What simplest mailing I can use in Cloudflare worker in this case (no domain, one mail destination address)? Is there embedded Cloudflare function to do this?
1 replies
CDCloudflare Developers
•Created by Viacheslav on 7/16/2024 in #workers-help
What simplest way to pass reference to supabase into Worker script
I asked this question (with good formatting) there https://www.sitepoint.com/community/t/how-to-pass-reference-to-supabase-instead-object-in-cloudflare-worker/451831#
What I doing wrong? How can I inject reference to Supabase into my script?
9 replies
CDCloudflare Developers
•Created by Viacheslav on 3/22/2024 in #workers-help
Webpack. No event handlers were registered. This script does nothing.
I have prepared webpack.config.js
....
output: {
filename: "worker.js",
path: path.resolve(__dirname, "dist"),
library: 'webpack-test',
libraryTarget: 'commonjs2'
and receive webpack result in dist folder. Then I try to load this result to Cloudflare “wrangler deploy” with setup in TOML file of webpack result
...
main = "./dist/worker.js"
And receive this strange result
⛅️ wrangler 3.36.0
-------------------
Total Upload: 2.21 KiB / gzip: 0.96 KiB
X [ERROR] A request to the Cloudflare API (/accounts/879d75a301cfdc25c307469b83b91862/workers/scripts/webpack) failed.
No event handlers were registered. This script does nothing.
[code: 10021]
Why? What I done wrong? Or Webpack not applicable to Worker at all?
6 replies