Send an email from a static Pages website.
Hello, I have a simple pages website on my account. The domain name is bought by another provider, but I have changed the DNS to point to Cloudflare and currently works as intended.
My next goal is to start sending email from a form on my static Pages website using the domain as a sender - e.g. something like "[email protected]". The recepient should be on the same domain - e.g. "[email protected]". The hosting that I was previously using has an SMTP that has those mailboxes available and usable is still up and running and I'm using them. My question is how can I leverage that and start sending mails from the Pages website?
2 Replies
You would have to find a service that allows you to send emails via a REST API and add a function to your code to call it. Cloudflare doesn't offer SMTP or email sending services