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

[Feature]一点点想法 #334

Open
superen7527 opened this issue Jul 6, 2024 · 8 comments
Open

[Feature]一点点想法 #334

superen7527 opened this issue Jul 6, 2024 · 8 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@superen7527
Copy link

很不错的项目,就是想加几个功能,不知道好不好实现,就提个issue不好实现的话就算了。感谢作者的更新,

1。能不能显示管理入口或者怎么点击几下logo进去还是怎么独立管理员密码登录前台就显示按钮,每次/admin有点麻烦

2。能不能增加自定义SMTP配置用来发信?

3。能不能配置转发规则,符合某些条件或者全部转发,通过webhook 或者上面的SMTP或者自定义api格式 可以做通知或者转发到另一个地方。

感谢作者的付出 不实现也没关系 就是记录一下想法。

@superen7527 superen7527 added enhancement New feature or request good first issue Good for newcomers labels Jul 6, 2024
@superen7527 superen7527 changed the title [Feature] [Feature]一点点想法 Jul 6, 2024
@dreamhunter2333
Copy link
Owner

dreamhunter2333 commented Jul 6, 2024

感谢反馈

  1. 如果当前浏览器曾经进入过 admin 页面,之后会显示入口
image
  1. cf work 只能使用 http 或者 WebSocket,目前使用了 resend 来发信,resend 提供了 smtp 的配置,参考 https://resend.com/changelog/smtp-service

  2. 目前支持了邮箱层的 webhook(每个邮箱可以配置),转发规则我想一下怎么增加

@dreamhunter2333
Copy link
Owner

  1. 点击 logo 5 次进入 admin 页面,已增加到 main 分支

@superen7527
Copy link
Author

superen7527 commented Jul 6, 2024

好的 十分感谢
1.是的 进入以后会记录,但是我经常换设备。能采纳连点logo我已经很满意知足了。
2.我看过这个文档 感觉smtp比较方便 所以提了这个问题。不过既然协议不支持就算了。
3.好的 谢谢花心思了。

去年开始关注这个项目。是谷歌搜了很久才找到比较符合我预期的项目,当时发现提的一个小问题(另一个号)都有认真回复,就感觉作者很不错,明明是公益项目,响应却非常及时,几乎所有需求都会采纳,十分难得,而且还非常平易近人,对一些我觉得没必要回复和理睬的需求也认真回复了,令我有些相形见绌,明明技术比我好,待人接物也做的比我好。虽然很久没关注项目,但是这个印象一直在我心里,所以我这次有想法就直接发过来,本来不想做太麻烦作者,就前天晚上的想法想单纯记录一下,没想到晚上看就实现了一部分了,不知道说什么,只有感激,很感谢。谢谢。

@zou-yu
Copy link

zou-yu commented Jul 25, 2024

cloudflare worker 可以支持 TCP 了

https://developers.cloudflare.com/workers/runtime-apis/tcp-sockets/

@dreamhunter2333
Copy link
Owner

dreamhunter2333 commented Jul 25, 2024

cloudflare worker 可以支持 TCP 了

https://developers.cloudflare.com/workers/runtime-apis/tcp-sockets/

感谢反馈,这个是 outbound ,也就是连接到外部的tcp

应该可以做到通过 smtp ssl发信

@zou-yu
Copy link

zou-yu commented Jul 26, 2024

cloudflare worker 可以支持 TCP 了

https://developers.cloudflare.com/workers/runtime-apis/tcp-sockets/

感谢反馈,这个是 outbound ,也就是连接到外部的tcp

应该可以做到通过 smtp ssl发信

找了一圈没找到 workers smtp 的实现,自己写了一个, https://github.com/zou-yu/worker-mailer
目前能用状态,还在开发,有需要可以看看

@dreamhunter2333
Copy link
Owner

cloudflare worker 可以支持 TCP 了

https://developers.cloudflare.com/workers/runtime-apis/tcp-sockets/

感谢反馈,这个是 outbound ,也就是连接到外部的tcp
应该可以做到通过 smtp ssl发信

找了一圈没找到 workers smtp 的实现,自己写了一个, https://github.com/zou-yu/worker-mailer 目前能用状态,还在开发,有需要可以看看

赞,我有空可以集成下

@transparentumbrella
Copy link

cloudflare worker 可以支持 TCP 了

https://developers.cloudflare.com/workers/runtime-apis/tcp-sockets/

感谢反馈,这个是 outbound ,也就是连接到外部的tcp
应该可以做到通过 smtp ssl发信

找了一圈没找到 workers smtp 的实现,自己写了一个, https://github.com/zou-yu/worker-mailer 目前能用状态,还在开发,有需要可以看看

厉害,我也研究下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants