Sebastian
Sebastian
CDCloudflare Developers
Created by Sebastian on 3/20/2023 in #workers-help
SMTP Protocol from Worker
Is there any way that I can directly communicate with an SMTP host from a worker? What I'm trying to do is basically:
HELO myhostname.com
MAIL FROM:<[email protected]>
QUIT
HELO myhostname.com
MAIL FROM:<[email protected]>
QUIT
the idea is all i'm trying to get is the response for that RCPT TO to check if a provided email address is valid
8 replies
CDCloudflare Developers
Created by Sebastian on 2/28/2023 in #pages-help
404 Header Rule
How do I specify headers in _headers for when the 404.html page is served for a nonexistent path?
2 replies
CDCloudflare Developers
Created by Sebastian on 2/28/2023 in #pages-help
Return 204 without using bundled request
Is there any way to make a specific path return a 204 without using up bundled requests? this is my current solution as a function:
export function onRequest(context) {
return new Response(null, {
status: 204,
});
}
export function onRequest(context) {
return new Response(null, {
status: 204,
});
}
17 replies
CDCloudflare Developers
Created by Sebastian on 2/27/2023 in #pages-help
Pages + Website Caching
Is there any way that I can trigger a cache purge any time there's a successful Pages build?
9 replies
CDCloudflare Developers
Created by Sebastian on 2/21/2023 in #pages-help
MailChannels Pages Plugin
I'm trying to create a simple static site with a contact form using Pages and Functions, however everything I've attempted so far doesn't seem to be working. I've copied the example at https://developers.cloudflare.com/pages/platform/functions/plugins/mailchannels/ exactly, however the deployment is failing and giving me no information as to why it's failed or what I can do to fix it.
14 replies