Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare邮件支持 || Cloudflare email support #2109

Open
lolifamily opened this issue Oct 7, 2023 · 4 comments
Open

Cloudflare邮件支持 || Cloudflare email support #2109

lolifamily opened this issue Oct 7, 2023 · 4 comments
Labels
discussion Question or dicussion Inactive

Comments

@lolifamily
Copy link
Contributor

lolifamily commented Oct 7, 2023

功能概述 | Describe the feature

cloudflare已经推出免费的email worker服务,可以近乎无限量发送邮件,但是其使用http而不是smtp,希望能支持一下


Feature Overview | Describe the feature

Cloudflare has launched a free email worker service, which can send almost unlimited emails, but it uses http instead of smtp. I hope it can be supported

@lolifamily lolifamily added discussion Question or dicussion enhancement New feature or request labels Oct 7, 2023
@github-actions github-actions bot changed the title Cloudflare邮件支持 Cloudflare邮件支持 || Cloudflare email support Oct 7, 2023
@lizheming
Copy link
Collaborator

这个看起来可以直接通过 WEBHOOK 去支持,具体可参考文档 https://waline.js.org/reference/server/env.html#%E9%AB%98%E7%BA%A7%E9%85%8D%E7%BD%AE

本质是发送一个请求,在 cloudflare 那边拿到输出发送邮件,和 waline 本身关系不是特别大。

@lizheming lizheming removed the enhancement New feature or request label Oct 14, 2023
@lolifamily lolifamily reopened this Oct 27, 2023
@lolifamily
Copy link
Contributor Author

lolifamily commented Oct 27, 2023

这里不能解决注册验证码发送的问题


The problem of sending registration verification code cannot be solved here

@yige-yigeren
Copy link

有进一步的进展吗,我查到了一些cloudflare workers发送邮件的办法。(我对电子邮件真的不咋清楚)
一个第三方教程
https://www.fadhil-blog.dev/blog/cloudflare-worker-send-email/
cloudflare博客
https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels
但是我真的对这个不太清楚,第一个教程里的东西是写死在workers里面的,有什么办法可以把第一个和Waline结合起来吗?

@lolifamily
Copy link
Contributor Author

有进一步的进展吗,我查到了一些cloudflare workers发送邮件的办法。(我对电子邮件真的不咋清楚) 一个第三方教程 https://www.fadhil-blog.dev/blog/cloudflare-worker-send-email/ cloudflare博客 https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels 但是我真的对这个不太清楚,第一个教程里的东西是写死在workers里面的,有什么办法可以把第一个和Waline结合起来吗?

这个workers是可以直接访问的,相当于可以造一个api然后发送邮件,反正我是这么理解的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Question or dicussion Inactive
Projects
None yet
Development

No branches or pull requests

3 participants