Add 'vercel-email' package and update Cloudflare mailer implementation

The 'vercel-email' package was added as a dependency to facilitate sending emails using Cloudflare workers. The CloudflareMailer class has been updated to leverage 'vercel-email' for sending emails. Instructions for setting up the 'vercel-email' package with the Cloudflare provider were added to the README.md file. The
This commit is contained in:
giancarlo
2024-04-09 17:39:54 +08:00
parent a9eaaafd3d
commit d275d993bd
4 changed files with 28 additions and 18 deletions

View File

@@ -40,4 +40,6 @@ async function sendEmail() {
text: 'Hello, World!'
});
}
```
```
If you're using the `cloudflare` provider, please also read the instructions of the package [Vercel Email](https://github.com/Sh4yy/vercel-email) to setup your Workers.