mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 06:15:52 +03:00
[GH-ISSUE #125] 一键删除数据库中所有已接收邮件 #44
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#44
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 @xiewei3536 on GitHub (Apr 14, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/125
希望可以在管理员面板,一键删除数据库中所有已接收邮件(避免超过D1免费版容量限制),但是已建立的邮箱要继续保存。
@xiewei3536 commented on GitHub (Apr 14, 2024):
或者有没有可能让每封邮件只会保存24小时,到期自动删除?
感谢大佬
@dreamhunter2333 commented on GitHub (Apr 14, 2024):
OK 可以加个定时清除和管理员清理邮件
@dreamhunter2333 commented on GitHub (Apr 14, 2024):
最新版已添加 https://github.com/dreamhunter2333/cloudflare_temp_email/releases/tag/v0.2.6

@xiewei3536 commented on GitHub (Apr 15, 2024):
大佬,我按了清理30天前无收件人的邮件,但还是可以查询的到,请问是哪里有问题呢?感谢!
@xiewei3536 commented on GitHub (Apr 15, 2024):
清理发件箱也不行
其他清理功能还没有测试
@dreamhunter2333 commented on GitHub (Apr 15, 2024):
我测试一下,新的数据在 raw_mails,之前的数据在 mails,如不需要可以请看 mails 表。
@dreamhunter2333 commented on GitHub (Apr 15, 2024):
测试了下,都成功了,清理天数在 0 - 30 天之间
