This is a simple email forwarder for Cloudflare Workers, developed for the Comité Départemental de Vol Libre du Nord (CDVL59), a decentralized organization of the Fédération Française de Vol Libre (FFVL).
- Forwards emails to a list of recipients.
- The list of recipients is defined in the environment variable
RECIPIENTS
. - Each recipient is separated by a pipe character "|".
- The zone must have Cloudflare Email Routing activated.
- All the recipients must be verified using the Cloudflare dashboard.
-
Create a Worker on Cloudflare: Navigate to the Workers section on your Cloudflare dashboard and create a new Worker. Paste the provided TypeScript code into the Worker script.
-
Set the
RECIPIENTS
environment variable: In the Worker settings, add a new environment variable namedRECIPIENTS
. The value should be a pipe-separated list of email addresses. -
Deploy the Worker: Click "Save and Deploy" to deploy the Worker.
This software is released under the MIT License. See https://opensource.org/licenses/MIT for more details.
Ronan Le Meillat, 2024