mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[GH-ISSUE #277] 能否添加对象存储支持邮件附件的持久化存储? #84
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xshenhan on GitHub (May 27, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/277
请描述您的 Feature
能否添加对象存储支持邮件附件的持久化存储,s3格式之类的?有些邮箱数据还是希望能够长期存储的。
描述您考虑过的替代方案
cloudflare R2储存之类的。但是还是希望能接入通用的s3格式。
@dreamhunter2333 commented on GitHub (May 27, 2024):
是指提单独存储附件么,目前是存储在d1数据库的邮件原文中的,可以在页面做一个按钮,永久保存附件之类的
@xshenhan commented on GitHub (May 28, 2024):
比如说可以支持接入对象储存,把附件储存在对象储存中,d1数据库中只存链接之类的。主要是d1数据库存储空间太有限了。
@dreamhunter2333 commented on GitHub (May 28, 2024):
目前由于免费worker 的cpu限制以及nodejs 的邮件解析限制,后端是无法解析出大附件邮件的,现在全部才用了浏览器来解析,目前有个下载附件按钮,可以在UI上做个转存附件到R2
@xshenhan commented on GitHub (May 28, 2024):
我觉得可以,希望不只可以接入r2,希望兼容所有的s3格式的对象储存。这个实现上难度应该是类似的吧。另外转存以后,d1中的空间会被释放替换成链接吗?
@dreamhunter2333 commented on GitHub (May 28, 2024):
可以的 d1 的内容可以进行修改,不过通过ui就不能批量了,只能单独操作一封邮件
@xshenhan commented on GitHub (May 28, 2024):
可以的,谢谢回复!
@dreamhunter2333 commented on GitHub (Jun 1, 2024):
https://github.com/dreamhunter2333/cloudflare_temp_email/releases/tag/v0.5.0 已增加