Prerequisites
To get the most out of this guide, you’ll need to: Make sure you have the latest version of the Supabase CLI installed.1. Create Supabase function
Create a new function locally:2. Edit the handler function
Paste the following code into theindex.ts
file:
index.ts
3. Deploy and send email
Run function locally:
4. Try it yourself
Supabase Edge Functions Example
See the full source code.